- 22.1.3.1. Installing Connector/ODBC from a Binary Distribution on Windows
- 22.1.3.2. Installing Connector/ODBC from a Binary Distribution on Unix
- 22.1.3.3. Installing Connector/ODBC from a Binary Distribution on Mac OS X
- 22.1.3.4. Installing Connector/ODBC from a Source Distribution on Windows
- 22.1.3.5. Installing Connector/ODBC from a Source Distribution on Unix
- 22.1.3.6. Installing Connector/ODBC from the Development Source Tree
You can install the Connector/ODBC drivers using two different methods, a binary installation and a source installation. The binary installation is the easiest and most straightforward method of installation. Using the source installation methods should only be necessary on 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.
Where to Get Connector/ODBC
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/.
Supported Platforms
Connector/ODBC can be used on all major platforms supported by MySQL. You can install it on:
Windows 95, 98, Me, NT, 2000, XP, 2003, Vista and 7
All Unix-like Operating Systems, including: AIX, Amiga, BSDI, DEC, FreeBSD, HP-UX 10/11, Linux, NetBSD, OpenBSD, OS/2, SGI Irix, Solaris, SunOS, SCO OpenServer, SCO UnixWare, Tru64 Unix
Mac OS X and Mac OS X Server
Using a binary distribution offers the most straightforward method for installing Connector/ODBC. If you want more control over the driver, the installation location and or to customize elements of the driver you will need to build and install from the source.
If a binary distribution is not available for a particular
platform build the driver from the original source code. You can
contribute the binaries you create to MySQL by sending a mail
message to <myodbc@lists.mysql.com>
, so that it
becomes available for other users.
On all non-Windows platforms except Mac OS X, the driver is
built against 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
and you will need to recompile the
driver against iODBC
if you wish to use them
together. For further information see
Section 22.1.2.1.2, “ODBC Driver Managers”.
For further instructions:
Platform | Binary | Source |
---|---|---|
Windows | Installation Instructions | Build Instructions |
Unix/Linux | Installation Instructions | Build Instructions |
Mac OS X | Installation Instructions |