Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Importing MS ACCESS DB to mySql?

I'm working on a project atm, and I need to import data that is stored in a MS ACCESS database to mySql. For mySql I'm using phpMyAdmin on a Ubuntu machine, I have another Windows Machine where I can access the Access DB from, In MS Access 2003 I can't find an option to convert the data to mySql? Can this be done?

like image 678
Elitmiar Avatar asked Sep 21 '09 07:09

Elitmiar


Video Answer


2 Answers

Take a look at Access to MySQL. Makes it easy to convert an Access database to MySQL.

like image 188
Druid Avatar answered Sep 22 '22 19:09

Druid


It's always possible to do a quick and dirty export from Access to any ODBC database by selecting a table in Access and simply choosing EXPORT from the File menu. One of the export options (in the dropdown at the bottom) is ODBC, and if you have a DSN set up for your other database, you can export directly. Obviously, the data types won't necessarily be perfect for the target database, but it won't misconvert any data -- you just may need to tighten up the data types after the export.

I think it's astonishing that Access can do this, to be honest, but it works.

like image 45
David-W-Fenton Avatar answered Sep 21 '22 19:09

David-W-Fenton