Table of Contents [+/-]
- 4.1 Installing Connector/ODBC on Windows [+/-]
- 4.2 Installing Connector/ODBC on Unix-like Systems [+/-]
- 4.3 Installing Connector/ODBC on OS X
- 4.4 Building Connector/ODBC from a Source Distribution on Windows
- 4.5 Building Connector/ODBC from a Source Distribution on Unix
- 4.6 Building Connector/ODBC from a Source Distribution on OS X
- 4.7 Installing Connector/ODBC from the Development Source Tree
This section explains where to download Connector/ODBC, and how to run the installer, copy the files manually, or build from source.
You can get a copy of the latest version of Connector/ODBC binaries and sources from our Web site at http://dev.mysql.com/downloads/connector/odbc/.
For more information about Connector/ODBC, visit http://www.mysql.com/products/myodbc/.
For more information about licensing, visit http://www.mysql.com/company/legal/licensing/.
You can install the Connector/ODBC drivers using two different methods:
The binary installation is the easiest and most straightforward method of installation. You receive all the necessary libraries and other files pre-built, with an installer program or batch script to perform all necessary copying and configuration.
The source installation method is intended for platforms where a binary installation package is not available, or in situations where you want to customize or modify the installation process or Connector/ODBC drivers before installation.
If a binary distribution is not available for a particular platform, and you build the driver from the original source code, you can contribute the binaries you create to MySQL by sending a mail message to
<email@example.com>, so that it becomes available for other users.
Connector/ODBC can be used on all major platforms supported by MySQL. You can install it on:
Windows XP, 2003, Vista and 7.
All Unix-like Operating Systems, including: Amiga, BSDI, DEC, FreeBSD, HP-UX 10/11, Linux, NetBSD, OpenBSD, OS/2, SGI Irix, Solaris, SunOS, SCO OpenServer, SCO UnixWare, Tru64 Unix.
OS X and OS X Server.
On all non-Windows platforms except OS X, the driver is built
unixODBC and is expecting a 2-byte
SQLWCHAR, not 4 bytes as
iODBC is using. For this reason, the binaries
are only compatible with
unixODBC; recompile the driver against
iODBC to use them together. For further
Section 3.2, “ODBC Driver Managers”.
For further instructions, consult the documentation corresponding to the platform where you are installing and whether you are running a binary installer or building from source:
|Platform||Binary Installer||Build from Source|
|Windows||Installation Instructions||Build Instructions|
|Unix/Linux||Installation Instructions||Build Instructions|
|OS X||Installation Instructions|
Connector/ODBC offers the flexibility to handle data using any
character set through its
Unicode-enabled driver, or the
maximum raw speed for a more limited range of character sets
through its ANSI driver. Both
kinds of drivers are provided in the same download package, and
are both installed onto your systems by the installation program
or script that comes with the download package. Users who install
Connector/ODBC and register it to the ODBC manager manually can
choose to install and register either one or both of the drivers;
the different drivers are identified by a
(for “wide characters”) for the Unicode driver and
a for the ANSI driver at the end of the library