Documentation Home
MySQL Connector/C++ Release Notes
Related Documentation Download these Release Notes
PDF (US Ltr) - 313.1Kb
PDF (A4) - 313.0Kb


MySQL Connector/C++ Release Notes  /  Changes in MySQL Connector/C++ 9  /  Changes in MySQL Connector/C++ 9.4.0 (2025-07-22, General Availability)

Changes in MySQL Connector/C++ 9.4.0 (2025-07-22, General Availability)

Note

These release notes were created with the assistance of MySQL HeatWave GenAI.

Functionality Added or Changed

  • The X DevAPI and X DevAPI for C now support configurable read and write timeouts. These timeouts can be set in milliseconds with the following methods:

    • For both APIs, with the connection options read-timeout and write-timeout in the connection string.

    • For the X DevAPI, with the SessionOption enumeration constants READ_TIMEOUT and WRITE_TIMEOUT in the mysqlx::Session or mysqlx::SessionSettings constructor.

    • For the X DevAPI for C, with the MYSQLX_OPT_READ_TIMEOUT and MYSQLX_OPT_WRITE_TIMEOUT enumeration constants or the OPT_READ_TIMEOUT() and OPT_WRITE_TIMEOUT() macros, using the mysqlx_session_option_set() function.

    The timeouts can only be set at the time of connection. See the MySQL Connector/C++ X DevAPI Reference for details. (WL #16924)