Search Results
https://dev.mysql.com/doc/c-api/8.4/en/c-api-auto-reconnect.html
The MySQL client library can perform an automatic reconnection to the server if it finds that the connection is down when you attempt to send a statement to the server to be executed. If auto-reconnect is enabled, the library tries once to ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-basic-interface-usage.html
To connect to the server, call mysql_init() to initialize a connection handler, then call a connection-establishment function such as mysql_real_connect() with that handler (along with other information such as the host name, user name, and ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-binary-log-interface-usage.html
The initial SET statement sets the @source_binlog_checksum user-defined variable that the server takes as an indication that the client is checksum-aware. The following simple example program demonstrates the binary log C API functions. Program ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-plugin-interface.html
*/ mysql_options(&mysql, MYSQL_PLUGIN_DIR, plugin_dir); mysql_options(&mysql, MYSQL_DEFAULT_AUTH, default_auth); Typically, the program will also accept --plugin-dir and --default-auth options that enable users to override the default values. This ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-ssl-session-reuse.html
As of MySQL 8.0.29, the server supports SSL session reuse by default, but only within a configurable timeout period after a user enables the feature. For a description of server-side and client-side operations, see Reusing SSL Sessions. This ...
https://dev.mysql.com/doc/c-api/8.4/en/index.html
For help with using MySQL, please visit the MySQL Forums, where you can discuss your issues with other MySQL users. Abstract This is the MySQL 8.4 C API Developer Guide. The C API provides low-level access to the MySQL client/server protocol and ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-bind-param.html
The mysql_reset_connection() and mysql_change_user() functions also clear any currently defined attributes. bool mysql_bind_param(MYSQL *mysql, unsigned n_params, MYSQL_BIND *bind, const char **name) Description mysql_bind_param(), available as of ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-connect.html
MYSQL * mysql_connect(MYSQL *mysql, const char *host, const char *user, const char *passwd) Description This function is deprecated.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-dump-debug-info.html
int mysql_dump_debug_info(MYSQL *mysql) Description Instructs the server to write debugging information to the error log. CR_SERVER_LOST The connection to the server was lost during the query.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-insert-id.html
Errors ER_AUTO_INCREMENT_CONFLICT A user-specified AUTO_INCREMENT value in a multi INSERT statement falls within the range between the current AUTO_INCREMENT value and the sum of the current and number of rows affected values. uint64_t ...