You can use native MySQL Workbench "Migration wizard" to migrate data without errors.
It can be found in menu
Database -> Migration Wizard
It can transfer data "online" but I didn't found an option to create a dump file with it.
It is a pretty good solution for migrations