Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > MySQL and Access

MySQL and Access
Thread Tools
Mac Elite
Join Date: Mar 2001
Location: München, Deutschland
Status: Offline
Reply With Quote
Jul 29, 2003, 05:56 AM
 
Oooookay...
I'm in the situation to get a MySQL Database file converted into an Access file. With MySQLAdmin I can create a DB dump (e.g. in textmode) but I don't know how to import the file into Access properly!!!
Anyone done this before or found a good to-do-file?
Regards,
Powerbook
Aut Caesar aut nihil.
     
Senior User
Join Date: May 2001
Location: Nottingham, UK
Status: Offline
Reply With Quote
Jul 31, 2003, 04:44 AM
 
Pretty straightforward, i'm using access 2000, but i'm sure 97 would be similar.

Do a textdump of the db as a comma or tab delimited text file, preferably with the field names in the first row.

Now, create a new blank database in access. Go to File>Get External Data>Import , select text file as the type and locate your text file.

Now it will go into a wizard, and everything should be configured for you. The second step of the wizard will allow you to check a box "First row contains field names", so the fields will be named right. If you can't export the text file with field names in the first row, don't worry, you just have to type them in manually.

that's it! Let us know if you have any problems.
     
Mac Elite
Join Date: Mar 2001
Location: München, Deutschland
Status: Offline
Reply With Quote
Aug 13, 2003, 04:25 AM
 
Hi Derbs!

I found the solution, since importing via whatsoever db dump didn't work! (Partly the file was missing fields, partly Access killed the structure/fields while importing).
I downloaded the ODBC connector for/from http://www.mysql.com I connected inside Access directly to the MySQL DB. This worked out!

Best regards,
PB.
Aut Caesar aut nihil.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:15 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2