Connector/C++ distributions are available in binary and source formats. To obtain a distribution, visit the Connector/C++ downloads page.
Binary distributions are available for these platforms:
MSI installer package
Without installer (a Zip file)
Unix and Unix-like platforms:
Compressed GNU TAR archive (
Source packages use compressed GNU TAR file
tar.gz) format and can be used on any
The Connector/C++ code repository uses Git. To check out the latest source code, visit GitHub: https://github.com/mysql/mysql-connector-cpp To clone the Git repository to your machine, use this command
git clone https://github.com/mysql/mysql-connector-cpp.git
You should now have a copy of the entire Connector/C++ source tree in
mysql-connector-cpp. To build
and then install the driver libraries from this source tree on
Unix or Linux, use the same steps outlined in
Chapter 4, Installing Connector/C++ from Source.
After the initial checkout operation to get the source tree, run git pull periodically to update your source to the latest version.