Chapter 1 Introduction to MySQL Connector/C++

MySQL Connector/C++ is a MySQL database connector for C++. It lets you develop C++ applications that connect to the MySQL Server.

For notes detailing the changes in each release of MySQL Connector/C++, see MySQL Connector/C++ Release Notes.

MySQL Connector/C++ Benefits

MySQL Connector/C++ offers the following benefits for C++ users compared to the MySQL C API (MySQL client library):

JDBC Compatibility

MySQL Connector/C++ is compatible with the JDBC 4.0 API. MySQL Connector/C++ does not implement the entire JDBC 4.0 API, but does feature the following classes:

The JDBC 4.0 API defines approximately 450 methods for the classes just mentioned. MySQL Connector/C++ implements approximately 80% of these.

Platform Support and Prerequisites

MySQL Connector/C++ requires:

The release has been successfully compiled and tested on the following platforms:

AIX

FreeBSD

HPUX

Linux

Mac OS X

Solaris

Windows

Release Status

MySQL Connector/C++ is available as a Generally Available (GA) version. We ask users and developers to try it out and provide feedback.

Note that MySQL Workbench is successfully using MySQL Connector/C++.

If you have any queries, please contact us.

Licensing

MySQL Connector/C++ is licensed under the terms of the GPL, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPL as applied to this software; see FLOSS License Exception. If you need a non-GPL license for commercial distribution, please contact us.