SQL PHP HTML ASP JavaScript articles and free scripts to download
 

Transporting / converting Access , Excel data to MySQL


Any access table can be transferred ( or exported ) to MySQL database easily but using MyODBC. We will work on the transfermation process and hope that you are already runing MySQL database and your access table is ready. Any Excel table can be opened by Access and then data can be posted to MySQL

To transfer access table to  mysql we have to install MyODBC.

What is MyODBC 3.51

. MyODBC 3.51 is a 32-bit ODBC Driver, also known as MySQL ODBC 3.51 Driver. This is a enhanced version to the existing MyODBC 2.50, with ODBC 3.5x specification level 1(complete core API + level 2 features) in order to continue to provide all functionality of ODBC to access MySQL.

You can download MyODBC from

http://dev.mysql.com/downloads/connector/odbc/3.51.html

 

You need to configure MyODBC to connect to MySQL db.  After installing MyODBC you can go to administrative tools and open Data Sources (ODBC).  

 Data Sources ODBC

Go to ODBC Data Source Administrator and select myodbc

ODBC Data Source Administrator

Click the configure button to enter the MySQL database details. This is required to configure myodbc to convert access to MySQL.

configure myodbc for converting access to MySQL

Here you can test the data source for connection etc.  Click OK to save the configuration.

Now let us go to Access. Open access database you want to transfer to MySQL. Select the table we will be exporting and on file menu select export.

exporting table

 

We need to select the destination and for this select ODBC in save as  type

odbc database

Once save as type ODBC is select , the system will prompt for the table name we want to transfer.

table name

This will be the destination table name and can be changed to any name. Here we have to take care that if at configuration of myodbc if it is set to overwrite any existing table then any duplicate name will overwrite the old table. Once we give the table name and click OK system will show all the ODBC available and we will select myodbc in select data source.

MyODBC select

If we have not configured myodbc before with myslq login details like user id, password, db name, host  then here we will get prompt to enter the details. If all are entered properly then one new table will be created in specified database ( as per the configuration process ) with the records.




Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked
Sections
PHP
JavaScript
ASP
HTML
SQL
Photoshop
Articles SEO
SQL Tutorial List
SQL Commands
SQL Sections
Date & Time
Join Table
String
Math
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.