26.1.3. How to Install MyODBC
MyODBC works on Windows 9x, Me, NT, 2000, XP, and 2003, and on
most Unix platforms.
MyODBC is Open Source. You can find the newest version at
https://dev.mysql.com/downloads/connector/odbc/. Please note
that the 2.50.x versions are LGPL licensed, whereas the 3.51.x
versions are GPL licensed.
If you have problem with MyODBC and your program also works with
OLEDB, you should try the OLEDB driver.
Normally, you need to install MyODBC only on Windows machines. You
need MyODBC for Unix only if you have a program like ColdFusion
that is running on a Unix machine and uses ODBC to connect for
If you want to install MyODBC on a Unix box, you also need an ODBC
manager. MyODBC is known to work with most Unix ODBC managers.
To make a connection to a Unix box from a Windows box with an
ODBC application (one that doesn't support MySQL natively),
you must first install MyODBC on the Windows machine.
The user and Windows machine must have access privileges for
the MySQL server on the Unix machine. This is set up with the
GRANT command. See Section 220.127.116.11, “
You must create an ODBC DSN entry as follows:
Open the Control Panel on the Windows machine.
ODBC Data Sources
Click the tab
Select MySQL in the screen
Create New Data
Source and click the
The MySQL Driver default configuration screen is shown.
See Section 18.104.22.168, “Configuring a MyODBC DSN on Windows”.
Start your application and select the ODBC driver with the DSN
that you specified in the ODBC administrator.
Notice that other configuration options are shown on the MySQL
screen that you can try if you run into problems (options such as
trace, don't prompt on connect, and so forth).