To install the driver from a tarball distribution
(.tar.gz
file), download the latest
version of the driver for your operating system and follow
these steps:
shell>su root
shell>gunzip MyODBC-3.51.01-i686-pc-linux.tar.gz
shell>tar xvf MyODBC-3.51.01-i686-pc-linux.tar
shell>cd MyODBC-3.51.01-i686-pc-linux
Read the installation instructions in the
INSTALL-BINARY
file and execute these
commands.
shell>cp libmyodbc* /usr/local/lib
shell>cp odbc.ini /usr/local/etc
shell>export ODBCINI=/usr/local/etc/odbc.ini
Then proceed on to how to configure
the DSN on unix to configure the DSN for MyODBC. For
more information, refer to the
INSTALL-BINARY
file that comes with your
distribution.
This is a translation of the MySQL Reference Manual that can be found at dev.mysql.com. The original Reference Manual is in English, and this translation is not necessarily as up to date as the English version.