sql::mysql::MySQL_SQLExceptionwas removed. The distinction between server and client (connector) errors, based on the type of the exception, has been removed. However, the error code can still be checked to evaluate the error type.
Changed metadata column name
TABLE_SCHEMto ensure JDBC compliance.
Added experimental GCov support, cmake
MySQL Workbench 5.1 changed to use Connector/C++ for its database connectivity.
New directory layout.
Introduced experimental CPack support, see make help.
Driver Manager was removed.
Converted Connector/J tests were added.
ConnectionMetaData::getCatalogTerm()returns not applicable, there is no counterpart to catalog in Connector/C++.
sql::DbcExceptionto implement the interface of JDBC's
SQLException. Renamed to
All tests changed to create TAP compliant output.
All examples can be given optional connection parameters on the command line, for example:
examples/connect tcp://host:port user pass database
examples/connect unix:///path/to/mysql.sock user pass database
Support for (n)make install was added. You can change the default installation path. Carefully read the messages displayed after executing cmake. The following are installed:
Static and the dynamic version of the library,
Two MySQL specific headers:
mysql_driver.h, use this if you want to get your connections from the driver instead of instantiating a
MySQL_Connectionobject. This makes your code portable when using the common interface.
mysql_connection.h, use this if you intend to link directly to the
MySQL_Connectionclass and use its specifics not found in
However, you can make your application fully abstract by using the generic interface rather than these two headers.