Search Results
https://dev.mysql.com/doc/c-api/8.4/en/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/doc/c-api/8.4/en/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) ...
https://dev.mysql.com/doc/c-api/8.4/en/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) Description Returns a result set consisting of database names on the server that match the simple regular expression ...
https://dev.mysql.com/doc/c-api/8.4/en/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) Description Note mysql_list_fields() is deprecated and is subject to removal in a future version ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-list-processes.html
CR_SERVER_LOST The connection to the server was lost during the query. MYSQL_RES * mysql_list_processes(MYSQL *mysql) Description Note mysql_list_processes() is deprecated and is subject to removal in a future version of MySQL. Instead, use ...
https://dev.mysql.com/doc/c-api/8.4/en/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) Description Returns a result set consisting of table names in the current database that match the simple regular ...
https://dev.mysql.com/doc/c-api/8.4/en/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) Description Executes the SQL statement pointed to by the null-terminated string stmt_str. Normally, the string must consist ...
https://dev.mysql.com/doc/c-api/8.4/en/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) Description Note mysql_real_query() is a synchronous function. Its asynchronous counterpart is ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-reset-server-public-key.html
In such cases, connection failure can occur due to key mismatch. void mysql_reset_server_public_key(void) Description Clears from the client library any cached copy of the public key required by the server for RSA key pair-based password exchange.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-result-metadata.html
It can be useful for metadata-optional connections when the client does not know in advance whether particular result sets have metadata. enum enum_resultset_metadata mysql_result_metadata(MYSQL_RES *result) Description mysql_result_metadata() ...