Here you will find "HOW TOs" that cover a wide field : from how to clean your hard drive to how to make macaroni salad. Life for the normal guy would be easier if he has some book or website of HOW TOs. Every day we come face to face with simple obstacles that could frustrate us if we do not know how to jump over them. This Blog is intended to assist and at the same time entertain people who, like me, has the need to know how to tweak everyday snags so that they become advantages.

How To Convert Access to MySQL

May 17, 2008

Both Microsoft Access and MySQL have found wide use in many companies though for different reasons. The main advantage of Access is its relative ease of use while MySQL’s strength comes from its versatility. MySQL’s versatility allows it to work in conjunction with programs written in various languages as well as even Access. It allows multiple-user access, makes management of large databases easier, provides increased security, and simplifies backup management. In addition MySQL is provided free of charge. To migrate from an Access to MySQL we will be using a free program called DBTools. DBTools has a feature that allows us to directly import data from Access files.
 

  1. Install and configure MySQL or obtain the information need to access  pre-existing server.
  2. Visit DBTools Software and download the installer for the demo of  DBTools QueryIT.
  3. If you are in Access 2000, go to Tools > References menu option and click the "Microsoft DAO 3.6 Object Library" option in the dialogue box.
  4. Enable DAO (Data Access Objects) by launching DBtools, select Options > Preferences and choose the DAO 3.6 option. It is not important for you to know what DAO are. Just know that, if this is not done, the program will crash.
  5. Quit and relaunch DBTools.
  6. Now we will establish a connection to your MySQL server. Either click the server icon on the toolbar or go to Server > Add Server to create a profile for your new connection.
  7. After establishing a connection, use the Import Data Wizard to browse for the Access file you want to use.
  8. Select the version of Access the file was created in, as prompted.
  9. If you would like to use Access as a front end, open the database from Access and remove the tables you transferred. Using Access as a front end simply means using Access but having the data stored in a MySQL table.
  10. Download the MySQL Connector ODBC (Open Database Connection) driver from the MySQL website. An ODBC allows you to create a connection between two or more databases.
  11. Run the installer to install the driver.
  12. Now there should be a new icon in your Control Panel that reads either ODBC or Data Sources. Double click this to open the ODBC Data Source Administrator.
  13. With the "User DSN" tab selected, click on "Add." The DSN contains data source information. This will allow you to create a new data source and input information necessary for the driver to communicate with the data source.
  14. Select "MySQL ODBC 3.51 Driver" from the list of drivers, and click "Finish."
  15. Fill in the form and create a data source name that you will use to refer to the database when you wish to access it.
  16. Click "Test Data Source" to ensure you have entered your login information correctly.
  17. Click OK to create the DSN.
  18. Click File > Get External Data.
  19. You will then be presented with a file browser. As before, choose "ODBC Databases ()" from the drop-down menu at the bottom, and choose your DSN from the list of Machine Data Sources. You will then see a list of all the tables in your MySQL database. Select the table that you want to link, and click OK.

  20. It will then prompt you to select a unique record identifier. A unique record identifier is the cell whose value makes a record unique. In your Access database you may have an ID number for every record — unique to that record. Doing this is very important.

  21. You can now access your linked MySQL database through Access. This means that the data for your database is now stored in MySQL tables. If you would like, you could use Access as the front end and continue to use it as you did prior to the migration. The only difference is that the data would no longer be stored in the Access file, but rather in MySQL tables.

Posted by howto at 8:59 am | permalink

Add a comment








About Me

I am just a normal dude who happens to love collecting and sharing knowledge.

WidgetBox

Subscribe

Technorati
Bloglines

AdBrite

Message Board

arnel canones:

hello good day pwede ba tayo mag exchange link ito ung link ko http://arn07.i.ph aasahan ko ung reply u sa email ko ito and email. add ko caritaya@yahoo.com thanks.

Gem:

How are you? I hope you could write “how to” make myself happy! Just kidding!

iceah:

have a great weekend c:

casandra:

wnna see more….. click now the url

Cidz:

hi Kuya Nel! Lagi naa koy entrecard kaso dili nako mabutangan og pic. , gi resize naman nako pero dili gyapon mag fit..Mao blank sya..hehe! Kay ice yata nako ni click or sa imoha..kay nakita nako sa uban naa sila ani kaya gibutangan na lang sab nako akoa..=) God bless u cuz!

berryblitz:

hi :) di ba may bayad ang i.ph???

tochi3:

nakakakilig naman ang how to initiate a first kiss!!!

renan:

hello how are you? want to earn money without blog needed try to visit my site http://theseason.i.ph and find earn3.com, foxcash,net and isabalmacro.com try to click my banner and be my referal just clicking other site you can earn as much as 1 dollar per day..

Cidz:

nice blog

crissy:

thanks for dropping by…

renan:

thanks sa pag link..link ko din lahat ng blog mo..

support:

Congratulations, you’ve just completed the installation of this shoutbox.

support:

Hi! Your shoutbox is working fine!

Leave a message ▼

SiteMeter

BlogCatalog

RevResponse

Ads Here

MyBlogLog

RevResponse

Pinoy

Ads Here

Ad Engage

RevResponse