Problems with migration from an old librnms install to a new librenms install, mySQL issues

So I migrated from our old librenms to our new librenmns. From this server:

OldLibrenms

To this server:

NewLibrenms

When I try to run ./lnms migrate I get these errors:

I think the problem is the different mySQL versions between the 2 servers. I updated both to the latest in their repositories but failed to notice the change in versions. Can this be fixed? If so how?