MySQL Connector

MySQL Connector

Installing MySQL ODBC driver on Linux

Installing MySQL ODBC driver on Linux

Perform the following steps to install the MySQL ODBC driver on Linux:
  1. Click the following link to download the MySQL ODBC driver: https://downloads.mysql.com/archives/c-odbc/
  2. Select the required
    Product Version
    .
  3. Select the
    Operating System
    as
    Linux- Generic
    .
  4. Select the
    OS Version
    as
    All
    .
  5. Download the
    Linux - Generic (glibc 2.12) (x86, 64-bit)
    file.
  6. Extract the downloaded file to a local directory in your system.
    When you extract the file, ensure that you copy all files from the downloaded driver package.
  7. Edit the
    <Secure Agent installation directory>/odbcinst.ini
    file and add the following values:
    [MySQL ODBC 8.0 Unicode Driver] Description = ODBC for MySQL Driver = <Extracted folder path>/lib/libmyodbc8w.so Setup = <Extracted folder path>/lib/libmyodbc8w.so FileUsage = 1
    In the
    Driver
    and
    Setup
    fields, you must specify the file path of the
    libmyodbc8w.so
    file that you extracted to the local directory in your system.

0 COMMENTS

We’d like to hear from you!