allows you to connect the applications created with C++ with the MySQL databases to read and write data. This database driver is designed to help you create C++ applications that can connect to a
server and work with MySQL databases.
The MySQL Connector/C++ database connection driver provides support for object-oriented programming. It includes a
implementation which enables developers to create C++ applications with embedded MySQL support.
MySQL Connector/C++ provides a C++ interface that facilitates the communication with a MySQL database. It is a must for developers who want to access MySQL servers within their application using SQL queries.
Relying on pure C++ code, MySQL Connector/C++ comes with support for various programming interfaces, namely X DevAPI, XAPI (can also be used with C applications), and JDBC 4.0-based API, which significantly reduces the development time.
The connector requires Microsoft Visual Studio version 2015 on Windows, while the MySQL version depends on the used API. Building it from the source code requires the MySQL C API client library as well.
Usage examples are available in the source distributions of MySQL Connector/C++, as well as in the online documentation, which explains in great detail how to connect to a MySQL server, how to run queries and get the results, and how to use the SQL statements.