-
Connector/C++ 8.3.0 binary distributions from Oracle are built with the 8.3.0 version of the MySQL client library. MySQL Server 8.3.0 removed auto-reconnect support after deprecating it in versions 8.0.34 and 8.1.0. The related
OPT_RECONNECTconnection option continues to be recognized by the connector, but enabling the option now has no effect on the connection. Applications that use the legacy JDBC API and also enableOPT_RECONNECTcan:Implement reconnect logic in the application code.
Build JDBC Connector/C++ from sources in combination with an older version of the MySQL client library. However, enabling the
OPT_RECONNECToption does guarantee a successful automatic reconnection to the server if the connection is found to have been lost.
(WL #15979)
Improved OpenTelemetry support to propagate context when executing prepared statements. (WL #15959)
Improved support to import Connector/C++ into CMake projects by allowing
find_package(mysql-concpp)to enable consuming it. This defines import targets such asmysql::concppthat can be linked to executables used by the connector. (WL #15952)