Spec-Zone .ru
спецификации, руководства, описания, API

21.1.3. Connector/ODBC Installation

21.1.3.1. Installing Connector/ODBC on Windows
21.1.3.2. Installing Connector/ODBC on Unix
21.1.3.3. Installing Connector/ODBCon Mac OS X
21.1.3.4. Building Connector/ODBC from a Source Distribution on Windows
21.1.3.5. Building Connector/ODBC from a Source Distribution on Unix
21.1.3.6. Building Connector/ODBC from a Source Distribution on Mac OS X
21.1.3.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.

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/.

Choosing Unicode or ANSI Driver

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. Some users postponed their upgrade to Connector/ODBC 5.1, remaining with the older 3.51 version to keep this performance edge. As of Connector/ODBC 5.2, both kinds of drivers are available based on the 5.x code base: you can choose either a Unicode-enabled driver or an ANSI driver on the download page. The Unicode-enabled driver, recommended for most users, has no special qualifier in the download filename. The ANSI driver includes -ansi- in the download filename.

Note

You can install either the Unicode driver on a Windows system, or the ANSI driver, or both. The drivers are distinguished in the list of installed software and in the names of libraries and directories by a w (for "wide characters") for the Unicode driver, and a in the ANSI driver.

Choosing Binary or Source Installation Method

You can install the Connector/ODBC drivers using two different methods:

Supported Platforms

Connector/ODBC can be used on all major platforms supported by MySQL. You can install it on:

Note

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; recompile the driver against iODBC to use them together. For further information, see Section 21.1.2.1.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
Mac OS X InstallationInstructions