×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

a touch question about exporting M.S.Access to MySQL

a touch question about exporting M.S.Access to MySQL

a touch question about exporting M.S.Access to MySQL

(OP)
hi,

i am trying to export some M.S.Access databases to MySQL,

MySQL version: mysql-shareware-3.22.34-win.zip
MyODBC version: myodbc-2_50_19-nt.zip
ACCESS of OFFICE 2000.

I installed the MySQL server and ACCESS both in my own machine, windows 2000. now I can import MySQL databases to M.S. Access smoothly, but when I try to export M.S.Access data to MySQL,

error: ODBC call failed
[Microsoft][ODBC driver manager(#0)

what's wrong with that? any suggestions should be greatly appreciated.

RE: a touch question about exporting M.S.Access to MySQL

Hi mimosa,
 You could always export the Access db to a text file.
Then import it to MySQL.

The import command is .

mysql>LOAD DATA LOCAL INFILE '/path/to/db.txt'
      INTO TABLE table_name
      FIELDS TERMINATED BY ','
      LINES TERMINATED BY '\n';


for fields terminated by tab use '\t'

hope this helps
Refer to the mysql manual for further info.

Cheers

Ken
admin@mysqlwebring.com
MySQL Webring

RE: a touch question about exporting M.S.Access to MySQL

Even easier, on the MySQL website there is page of links to third-party software and utilities. One of these is ExportSQL, an Access module (script) to dump a complete Access database to mysql-readable SQL script. It handles table creation, type conversion (mostly), primary keys, the works.

http://www.cynergi.net/exportsql/

I've used it myself once and it worked beautifully, needing only one small tweak to the SQL output before running in MySQL.

RE: a touch question about exporting M.S.Access to MySQL

i use to myself todo just "that" (do export from the file menu of access) but now after i upgraded my odbc driver with the newest myodbc , i cant do it anymore, and i get the same error, what a bummer it was so cool to export tables that way...

RE: a touch question about exporting M.S.Access to MySQL

Even easier (he says after much searching)

Go to the contributor downloads page of mysql.com
Under Working with other programs
You will find MyAccess -
Use the link to MyAccess homepage (to get the latest version)
Download 1.4 (or later if there is a later release)for Access 2000. Make sure its the right version, Access97 isn't the same as you have no doubt descovered.

PS I don't think ExportSQL works with Access2k.

RE: a touch question about exporting M.S.Access to MySQL

hi,
i am trying to export some M.S.Access databases to MySQL,
MySQL version: mysql-shareware-3.22.32 for linux
MyODBC version: myodbc-2_50_36-win95
ACCESS of OFFICE 2000.
I've installed the MySQL server on a remote machine and MS Access in my own machine, windows 98.I can import MySQL databases to M.S. Access smoothly, but when I try to export M.S.Access data to a remote MySQL server,
error: ODBC call failed
[Microsoft][ODBC driver manager(#0)
what's wrong with that? any suggestions should be greatly appreciated.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close