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 Wizard for MySQL. It is a tool for converting structure and data from any ADO-compatible source (e.g. MS Access) to MySQL databases. See a brief guide to connection strings to build connection string to your MS Access file.
I use a Mac I do this to convert;
I modified the script by Nicolay77 to output the database to stdout (the usual way of unix scripts) so that I could output the data to text file or pipe it to any program I want. The resulting script is a bit simpler and works well.
Some examples:
Here is the modified script (save to to_mysql.sh)
This mac tool MDB / ACCDB Viewer worked well for my needs. Free trial let me prove everything did the required, and exported half of all rows. Full version was required to get the whole db/tables exported.
OSX users can follow by Nicolay77 or mikkom that uses the mdbtools utility. You can install it via Homebrew. Just have your homebrew installed and then go
Then create one of the scripts described by the guys and use it. I've used mikkom's one, converted all my mdb files into sql.
(which btw contains more than 1 table)
I've used SQLYog Ultimate to import data from mdb file, it was very easy process.
you may need to install these support tool.
MS Access Database engine
and download SQLYog Ultimate below
Pick SQLYog, you can use trial version for this