Documentation Home
Connectors and APIs Manual
Download this Manual
PDF (US Ltr) - 4.5Mb
PDF (A4) - 4.5Mb Installing Connector/ODBC from an RPM Distribution

To install or upgrade Connector/ODBC from an RPM distribution on Linux, simply download the RPM distribution of the latest version of Connector/ODBC and follow the instructions below. Use su root to become root, then install the RPM file.

If you are installing for the first time:

$> su root
$> rpm -ivh mysql-connector-odbc-9.0.0.i686.rpm

If the driver exists, upgrade it like this:

$> su root
$> rpm -Uvh mysql-connector-odbc-9.0.0.i686.rpm

If there is any dependency error for MySQL client library, libmysqlclient, simply ignore it by supplying the --nodeps option, and then make sure the MySQL client shared library is in the path or set through LD_LIBRARY_PATH.

This installs the driver libraries and related documents to /usr/local/lib and /usr/share/doc/MyODBC, respectively. See Section 5.5.5, “Configuring a Connector/ODBC DSN on Unix” for the post-installation configuration steps.

To uninstall the driver, become root and execute an rpm command:

$> su root
$> rpm -e mysql-connector-odbc