views:

226

answers:

2

Hey guys,

I have an MS-Access mdb file that I need to import data from into my mysql instance. I am on a mac, is there any free/OSS tools that allow me to do that? If not, is there a free/OSS JDBC driver that I can use to extract the data I need?

Thanks.

A: 

Is your Access MDB on mac?

Does the mac Access have the option of using linked tables?
If so, you can create a Linked Table from Access MDB to mySQL. Then, you could treat mysql tables as if it were part of MS-Access.

EDIT: See if this helps.

shahkalpesh
I only have the mdb file, I don't have Microsoft Access Application. What I want is the other way round, importing from that file into my mysql database. I dont want to have to buy Microsoft Access to do that.
shipmaster
You don’t need to install ms-access on a win computer to pull data out. You can even use windows scripting to pull data out as text.All recent versions of windows (even going back to win 2000) have the ability to pull data out of an mdb file without having to install ms-access. So no additional software need be installed on a windows box to pull out data from a mdb table.Your problem here is not purchasing ms-access. Purchasing ms-access will not help you unless you have a place to install ms-access (which as I mentioned you don’t need anyway). Do you have boot camp?
Albert D. Kallal
Hmm, I don't have a windows license and I don't want to buy one. Neither do I want to buy Office for Mac. Even if I run boot camp, I still need a windows license. My problem is solved however by Jackcess as suggested above, thanks everyone for the replies.
shipmaster
Access does not and has never run on Macs.
David-W-Fenton
+3  A: 

Have a look at Jackcess. Note that this doesn't support Access 97 databases, however, only 2000+.

For Access 97, the only thing I'm aware of is mdbtools, but that's a C library, so you'll have to write some JNI glue code if you want to use it from Java; also, it's not maintained anymore, to the best of my knowledge.

Pavel Minaev
Jackcess worked after some memory tweaking, thanks!
shipmaster