Is it possible to create a Dump of SQL commands from a Microsoft Access database? I hope to convert this MDB file into a MySQL database for importing so I don't have to go through the CSV step.
I would expect even an MSSQL dump file to still contain workable SQL commands, but I know nothing of MSSQL, please let me know.
Try the Data Transformation Services of microsoft
If you are not too concerned with the privacy of the .mdb files you want to convert, please know that this site allowed me to recover two 15-years-old .mdb Access databases (remember the old times when ASP ruled the web?) in just two minutes : http://www.mdbopener.com/
The databases were converted in Excel files, with one sheet for each table. Just what I needed. Couldn't have been any faster to recover my (very) old data...
The IDs being kept in each table, it was as easy as anything to convert this again to mysql (after saving it to CSV format) - again, in just a few minutes.
Free database tools don't export table RELATIONSHIPS, but you can use this: converting MS Access to MySQL with relationships
Works fine and export all relationships to MySQL.
We've used ESF Database Convert many times for this exact purpose. DTS was usually too flakey. And the recommendations on the MySQL page were woefully out of date.
If you have access to a linux box with mdbtools installed, you can use this Bash shell script (save as mdbconvert.sh):
To invoke it simply call it like this:
It will import all tables and all data.
You want to convert mdb to mysql (direct transfer to mysql or mysql dump)?
Try a software called Access to MySQL.
See the aforementioned link for a step-by-step tutorial with screenshots.