4.1.1 Installing the Windows Connector/ODBC Driver Using an Installer

The zipped or MSI installer packages offer a very simple method for installing the Connector/ODBC drivers. If you have downloaded the zipped installer, extract the installer application. The basic installation process is identical for both installers.

Follow these steps to complete the installation:

  1. Double-click the standalone installer that you extracted, or the MSI file you downloaded.

  2. The MySQL Connector/ODBC Setup Wizard starts. Click the Next button to begin the installation process.

    Connector/ODBC Windows Installer - Welcome
  3. After accepting the licensing agreement, choose the installation type. The Typical installation provides the standard files needed to connect to a MySQL database using ODBC. The Complete option installs all the available files, including debug and utility components. Oracle recommends choosing one of these two options to complete the installation. If you choose one of these methods, click Next, then proceed to step 5.

    You can also choose a Custom installation, where you select the individual components to install. If you choose this method, click Next, then proceed to step 4.

    Connector/ODBC Windows Installer - Choosing a Setup Type
  4. If you have chosen a custom installation, use the pop-ups to select which components to install, then click Next to install the necessary files.

    Connector/ODBC Windows Installer - Custom Installation
  5. If you get the following error message during the installation, it means you do not have the required Microsoft Visual C++ 2013 Redistributable Package installed. See the discussion here for details. Install the package before you click Retry and continue.

    Connector/ODBC Windows Installer - Error 1918
  6. Once the files are copied to their final locations and the drivers registered with the Windows ODBC manager, the installation is complete. Click Finish to exit the installer.

    Connector/ODBC Windows Installer - Completion

Now that the installation is complete, configure your ODBC connections using Chapter 5, Configuring Connector/ODBC.