Documentation Home
MySQL Connector/ODBC Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 1.7Mb
PDF (A4) - 1.7Mb


MySQL Connector/ODBC Developer Guide  /  ...  /  Installing Connector/ODBC from a DEB Distribution

4.2.3 Installing Connector/ODBC from a DEB Distribution

Connector/ODBC Debian packages (.deb files) are available (as of v8.0.20) for Debian or Debian-like Linux systems from the Connector/ODBC downloads page. The two package types are:

  • mysql-connector-odbc: This driver package installs MySQL ODBC driver libraries and the installer tool. It installs these files:

    ${LibDir}/odbc/libmyodbc9a.so
    ${LibDir}/odbc/libmyodbc9w.so
    ${BinDir}/myodbc-installer
    ${DocDir}/mysql-connector-odbc/*

    Prerequisites: it depends on the unixODBC libraries (libodbc, libodbcinst).

    It installs and registers both the Unicode (MySQL ODBC 9.1 Unicode Driver) and ANSI (MySQL ODBC 9.1 ANSI Driver) drivers.

    This driver package does not conflict with the official Debian package libmyodbc. It is possible to install/uninstall/use both packages independently.

  • mysql-connector-odbc-setup: This setup package provides the GUI configuration widget library. It installs these files:

    ${LibDir}/odbc/libmyodbc9S.so
    ${DocDir}/mysql-connector-odbc-setup/*

    The installation process registers the setup library for ODBC drivers with the ODBC manager.

The ${LibDir}, ${BinDir}, ${DocDir} locations used above should be the standard locations where DEB packages install libraries/executables/documentation. The library location contains architecture component, and here are example locations:

/usr/lib/x86_64-linux-gnu/odbc/libmyodbc9a.so
/usr/lib/x86_64-linux-gnu/odbc/libmyodbc9w.so
/usr/lib/x86_64-linux-gnu/odbc/libmyodbc9S.so

/usr/bin/myodbc-installer

/usr/share/doc/mysql-connector-odbc/*
/usr/share/doc/mysql-connector-odbc-setup/*