Installing the Connector Using the RPM File

If you did not obtain this connector from the Simba website, you might need to follow a different installation procedure. For more information, see the Simba OEM ODBC Connectors Installation Guide.

On 64-bit editions of Linux, 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 a connector whose bitness matches the bitness of the client application.

Additionally, make sure to use the RPM file that has been optimized for your Linux distribution. The following RPM files are available:

  • simbamysql-[Version]-[Release].i686.rpm for installing the 32-bit connector on Red Hat Enterprise Linux or CentOS machines.
  • simbamysql-[Version]-[Release].x86_64.rpm for installing the 64-bit connector Red Hat Enterprise Linux or CentOS machines.
  • simbamysql-[Version]-[Release].suse12.i686.rpm for installing the 32-bit connector on SUSE Linux Enterprise Server machines.
  • simbamysql-[Version]-[Release].suse12.x86_64.rpm for installing the 64-bit connector on SUSE Linux Enterprise Server machines.

The placeholders in the file names are defined as follows:

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

You can install both the 32-bit and 64-bit versions of the connector on the same machine.

To install the Simba MySQL ODBC Driver using the RPM File:

  1. Log in as the root user.
  2. Navigate to the folder containing the RPM package for the connector.
  3. Depending on the Linux distribution that you are using, run one of the following commands from the command line, where [RPMFileName] is the file name of the RPM package:
    • If you are using Red Hat Enterprise Linux or CentOS, run the following command:
    • yum --nogpgcheck localinstall [RPMFileName]

    • Or, if you are using SUSE Linux Enterprise Server, run the following command:
    • zypper install [RPMFileName]

    The Simba MySQL ODBC Driver files are installed in the /opt/simba/mysqlodbc directory.

  4. If you received a license file through 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.

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.