views:

43

answers:

3

I'm looking for some tips on how to export a mysql database into a .mdb file that is readable by Microsoft Access 2007+ (and editable too!). It needs to be a script that can run on a Linux server (maybe using PHP?).

I can't seem to find out anything anywhere. Any ideas?

Cheers!

+1  A: 

You could create a a CSV file from MySql and then import that into Access. You can use OLEDB or ODBC connection to access and should be able to do the inserts that way.

Are you also trying to create the mdb file on the fly? I'm assuming that you have one built already and just want to export the data from mysql and import into access.

spinon
A: 

I have not tried this.

The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. This is to include GUI support for both KDE and GNOME.

-- http://www.unixodbc.org/

Remou
How could that work with as database engine that can't run on anything other than Windows?
David-W-Fenton
I was imagining a situation where the Unix box was talking to a windows box: http://www.unix.com/unix-dummies-questions-answers/4979-microsoft-access-database-unix.html
Remou
A: 

Thanks for your tips :)

I have since found out we're already using this product elsewhere: http://dbconvert.com/convert-access-to-mysql-pro.php?DB=1 It's running under Wine on our server, although I don't think it supports the latest versions of Access.

WastedSpace