Hi,
Obtain mysql-connector-odbc from the MySQL website and install it on your system. Then:
1) Navigate to Control Panel > Administrative Tools and double-click on Data Sources (ODBC)
2) on the User DSN tab Click Add button and from the list of available drivers, select the MySQL ODBC Driver, and click OK.
3) Input requires data in the appeared dialog:
Data Source Name: it's optional. Let it be "Mysql-test" in our case.
Description: is optional as well.
Server: localhost (in case mysql server is installed on the local machine, or IP Address if it's on network machine)
fill out user and password fields respectively. You should be able to see mysql databases under Database drop-down list, choose one. Click OK.
Then, Establishing connection by Creating New Base file:
1) File > New > Database
2) Click on the radio button Connect to an existing database and choose MySQL from the dropdown menu. Click on Next.
3) In the next dialog, you should accept the default choice of Connect using ODBC, and then click on Next.
4) Click Browse and select created connection ([MySQL-test] should be in the list in our case) and next.
5) then enter username and Finish. Save file.
source : wikipedia
|