That's not really an Alfresco question since its to do with mySql.
Why the battle, what's the problem with the usual steps which are to dump your database with mysqldump followed by an import? Your O.S. should be irrelevant although the defaults values for collation order and character set can change depending on platform.