https://dev.mysql.com/mysql-library-end.html
Call it when you are done using the library (for example, after disconnecting from the server). Note To avoid memory leaks after the application is done using the library (for example, after closing the connection to the server), be sure to call ...
https://dev.mysql.com/mysql-library-init.html
Note To avoid memory leaks after the application is done using the library (for example, after closing the connection to the server), be sure to call mysql_library_end() explicitly. int mysql_library_init(int argc, char **argv, char **groups) Call ...
https://dev.mysql.com/mysql-list-dbs.html
CR_SERVER_LOST The connection to the server was lost during the query. MYSQL_RES *mysql_list_dbs(MYSQL *mysql, const char *wild) Returns a result set consisting of database names on the server that match the simple regular expression specified by ...
https://dev.mysql.com/mysql-list-fields.html
CR_SERVER_LOST The connection to the server was lost during the query. MYSQL_RES *mysql_list_fields(MYSQL *mysql, const char *table, const char *wild) Note mysql_list_fields() is deprecated and will be removed in a future version of MySQL. Returns ...
https://dev.mysql.com/mysql-list-processes.html
CR_SERVER_LOST The connection to the server was lost during the query. MYSQL_RES *mysql_list_processes(MYSQL *mysql) Note mysql_list_processes() is deprecated and will be removed in a future version of MySQL. This is the same kind of information as ...
https://dev.mysql.com/mysql-list-tables.html
CR_SERVER_LOST The connection to the server was lost during the query. MYSQL_RES *mysql_list_tables(MYSQL *mysql, const char *wild) Returns a result set consisting of table names in the current database that match the simple regular expression ...
https://dev.mysql.com/mysql-logging.html
This is the same as the CONNECTION_ID() function value within the session. Mar 7 12:39:25 myhost MysqlClient[20824]: SYSTEM_USER:'oscar', MYSQL_USER:'my_oscar', CONNECTION_ID:23, DB_SERVER:'127.0.0.1', DB:'--', QUERY:'USE test;' Mar 7 12:39:28 ...
https://dev.mysql.com/mysql-query.html
CR_SERVER_LOST The connection to the server was lost during the query. int mysql_query(MYSQL *mysql, const char *stmt_str) Executes the SQL statement pointed to by the null-terminated string stmt_str. Normally, the string must consist of a single ...
https://dev.mysql.com/mysql-real-query.html
CR_SERVER_LOST The connection to the server was lost during the query. int mysql_real_query(MYSQL *mysql, const char *stmt_str, unsigned long length) Note mysql_real_query() is a synchronous function. Its asynchronous counterpart is ...
https://dev.mysql.com/mysql-reset-server-public-key.html
In such cases, connection failure can occur due to key mismatch. void mysql_reset_server_public_key(void) Clears from the client library any cached copy of the public key required by the server for RSA key pair-based password exchange. This might ...