Converting from MS Access to mySQL

This was a useful one to find, awhile back. These days it’s probably easier to just export the data and import it on the other side.

Thanks to this site:

http://www.cynergi.net/prod/exportsql/

Copy into a module in Access, then run. Note that there are some hitches to keys that are made which are not NULL and need to be.

Then run mysql in batch mode with:

mysql -u root -p < script.sql