there used to be a tool called dbtools whi9ch was free and did the job
...looks like there
still is
I don't think the mySQL migration toolkit (part of the MySQL GUI tools) available fromt he MySQL website does it but you may want to check
failing that its an export from MySQL to a CSV file and import into MySQL.