MySQL Connector/C++ 8.0 Developer Guide

Chapter 3 Installing Connector/C++ from a Binary Distribution

To obtain a Connector/C++ binary distribution, visit the Connector/C++ downloads page.

For some platforms, Connector/C++ binary distributions are available in platform-specific packaging formats. Binary distributions are also available in more generic format, in the form of compressed tar files or Zip archives.

For descriptions here that refer to documentation files, those files have names such as CONTRIBUTING.md, README.md, README.txt, README, LICENSE.txt, LICENSE, INFO_BIN, and INFO_SRC. (Prior to Connector/C++ 8.0.14, the information file is BUILDINFO.txt rather than INFO_BIN and INFO_SRC.)

Installation on Windows

Important

On Windows platforms, Commercial and Community Connector/C++ distributions require the Visual C++ Redistributable for Visual Studio. The Redistributable is available at the Visual Studio Download Center; install it before installing Connector/C++. For information about which VC++ Redistributable versions are acceptable, see Platform Support and Prerequisites.

These methods of installing binary distributions are available on Windows:

Installation on Linux

These methods of installing binary distributions are available on Linux:

Installation on macOS

These methods of installing binary distributions are available on macOS:

Installation on Solaris

Important

The installation packages have a dependency on the Oracle Developer Studio 12.6 Runtime Libraries, which must be installed before you run the MySQL installation package. See the download options for Oracle Developer Studio here. The installation package enables you to install the runtime libraries only instead of the full Oracle Developer Studio; see instructions in Installing Only the Runtime Libraries on Oracle Solaris 11.

These methods of installing binary distributions are available on Solaris:

Installation Using a tar or Zip Package

Connector/C++ binary distributions are available for several platforms, packaged in the form of compressed tar files or Zip archives, denoted here as PACKAGE.tar.gz or PACKAGE.zip.

To unpack a compressed tar file, use this command in the intended installation directory:

tar zxvf PACKAGE.tar.gz

To install from a Zip archive package (.zip file), use WinZip or another tool that can read .zip files to unpack the file into the location of your choosing.