Installing the Connector on Debian or Ubuntu

To install the connector on a Debian or Ubuntu machine, use the Debian package instead of the RPM file or tarball package.

On 64-bit editions of Debian or Ubuntu, you can execute both 32- and 64-bit applications. However, 64-bit applications must use 64-bit connectors, and 32-bit applications must use 32-bit connectors. Make sure that you use the version of the connector that matches the bitness of the client application:

  • mysql_[Version]-[Release]_i386.deb for the 32-bit connector
  • mysql_[Version]-[Release]_amd64.deb for the 64-bit connector

[Version] is the version number of the connector, and [Release] is the release number for this version of the connector.

You can install both versions of the connector on the same machine.

To install the Simba MySQL ODBC Driver on Debian:

  1. Log in as the root user, and then navigate to the folder containing the Debian package for the connector.
  2. Double-click mysql_[Version]-[Release]_i386.deb or mysql_[Version]-[Release]_amd64.deb.
  3. Follow the instructions in the installer to complete the installation process.
  4. The Simba MySQL ODBC Driver files are installed in the /opt/simba/mysqlodbc directory.

    Note:

    If the package manager in your Ubuntu distribution cannot resolve the libsasl dependencies automatically when installing the connector, then download and manually install the packages required by the version of the connector that you want to install.

  5. If you received a license file via email, then copy the license file into the /opt/simba/mysqlodbc/lib/32 or /opt/simba/mysqlodbc/lib/64 folder, depending on the version of the connector that you installed. You must have root privileges when changing the contents of this folder.

Next, configure the environment variables on your machine to make sure that the ODBC driver manager can work with the connector. For more information, see Configuring the ODBC Driver Manager.