Saturday, September 11, 2010

Create an ODBC connection to a MS Access Database

I was  originally going to use mySQL but had to change to Access since the Centre uses an access database. to store records.


Open the Administrative Tools icon in your Control Panel.











Double-click on the Data Sources (ODBC) icon inside.


Choose the System DSN tab.
Click on Add in the System DSN tab.

Select the Microsoft Access Driver. Click Finish.














 In the next screen, click Select to locate the database.
Give the database a Data Source Name (DSN).
Click OK.


























Note that this configuration has to be done on the computer where your web site is located. If you are running Internet Information Server (IIS) on your own computer, the instructions above will work, but if your web site is located on a remote server, you have to have physical access to that server, or ask your web host to set up a DSN for you to use.

No comments:

Post a Comment