Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-drop-db.html
int mysql_drop_db(MYSQL *mysql, const char *db) Description Drops the database named by the db parameter. Use mysql_real_query() or mysql_query() to issue an SQL DROP DATABASE statement instead. CR_SERVER_LOST The connection to the server was lost ...
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-fetch-row.html
MYSQL_ROW mysql_fetch_row(MYSQL_RES *result) Description Note mysql_fetch_row() is a synchronous function. Its asynchronous counterpart is mysql_fetch_row_nonblocking(), for use by applications that require asynchronous communication with the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-kill.html
int mysql_kill(MYSQL *mysql, unsigned long pid) Description Note mysql_kill() is deprecated and is subject to removal in a future version of MySQL. mysql_kill() cannot handle values larger than 32 bits; to guard against killing the wrong thread, ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-next-result.html
int mysql_next_result(MYSQL *mysql) Description Note mysql_next_result() is a synchronous function. Its asynchronous counterpart is mysql_next_result_nonblocking(), for use by applications that require asynchronous communication with the server.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-options.html
multi-queries, multi-results Enable multiple result sets from multiple-statement executions or stored procedures. int mysql_options(MYSQL *mysql, enum mysql_option option, const void *arg) Description Can be used to set extra connect options and ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-connect.html
Suppression of metadata transfer can improve performance, particularly for sessions that execute many queries that return few rows each. MYSQL * mysql_real_connect(MYSQL *mysql, const char *host, const char *user, const char *passwd, const char ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-refresh.html
int mysql_refresh(MYSQL *mysql, unsigned int options) Description Note mysql_refresh() is deprecated and is subject to removal in a future version of MySQL. This function flushes tables or caches, or resets replication server information. The ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-reload.html
int mysql_reload(MYSQL *mysql) Description Asks the MySQL server to reload the grant tables. Use mysql_real_query() or mysql_query() to issue an SQL FLUSH PRIVILEGES statement instead. CR_SERVER_LOST The connection to the server was lost during the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-reset-connection.html
int mysql_reset_connection(MYSQL *mysql) Description Resets the connection to clear the session state. mysql_reset_connection() has effects similar to mysql_change_user() or an auto-reconnect except that the connection is not closed and reopened, ...