Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

conversion from access to mySQL 1

Status
Not open for further replies.

missippi

IS-IT--Management
Feb 8, 2001
42
US
Hi,

Do you know what the best way to take my access database and move it into a mySQL database? I have the phpMyAdmin interface.

MAO
 
Do a data export from access for each table into scv format and import each into mysql after recreating the tables.

I'm not aware of any magic ways to suddenly change from one to the other, sorry. ***************************************
Party on, dudes!
[cannon]
 
Hello,

Why don't you use MS-Access to connect to your remote
mysql database in order to update it "on-the-fly"?

You only have to install the odbc drivers and configure
it. Ask me if you need help for the configuration.

Have a good day.
 
That sounds like a great idea. Can you give me directions or a webpage to learn more about it. I have used the odbc drivers when I did ASP in the past and when I did some VB programming with databases.

Thanks
 
That's very simple:

1) Download the ODBC drivers from microsoft.
2) Install it.
3) Open it by accessing it via the control panel.
4) Click on the tab called System DSN
5) Button Add
6) Choose mysql in the list of drivers and continue.
7) Type a name (same as a bookmark) for this connection
in "Windows DSN name"
8) Fill host/IP
9) Enter the database you want to access to in "database name"
10) user & password.
11) Click OK and leave.
12) Open MS-ACCESS
13) Choose "ODBC database" in the open menu.
14) Click on the tab called "Machine Data Source"
15) Select your "data source name" and click OK.
16) Choose the table you want to edit.
DONE!

Bye
 
Hey, thats a good idea and I got it working. What if i want to create more tables, and import data from a spreadsheet. Can I connect to the main database and do that, or do I have to manually create the tables in mysql.

Good post

 
I've never tried to create tables with ms-access.
I always use it to edit data and to paste new
records coming from excel files.
BTW, when pasting rows in access, be careful
the table has the right NULL/NOT NULL settings.
Otherwise you will get plenty of error messages
if you excel table has empty cells.
 
I am stuck on what driver to download?


Thanks,

MAO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top