Search Results
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, ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-set-server-option.html
int mysql_set_server_option(MYSQL *mysql, enum enum_mysql_set_option option) Description Enables or disables an option for the connection. Option Description MYSQL_OPTION_MULTI_STATEMENTS_ON Enable multiple-statement support ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-shutdown.html
int mysql_shutdown(MYSQL *mysql, enum mysql_enum_shutdown_level shutdown_level) Description Note mysql_shutdown() is deprecated and will be removed in a future version of MySQL. MySQL servers support only one type of shutdown; shutdown_level must ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stat.html
const char * mysql_stat(MYSQL *mysql) Description Returns a character string containing information similar to that provided by the mysqladmin status command. This includes uptime in seconds and the number of running threads, questions, reloads, ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-bind-param.html
bool mysql_stmt_bind_param(MYSQL_STMT *stmt, MYSQL_BIND *bind) Description mysql_stmt_bind_param() is used to bind input data for the parameter markers in the SQL statement that was passed to mysql_stmt_prepare(). The client library expects the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-close.html
mysql_stmt_close() also deallocates the statement handler pointed to by stmt, which at that point becomes invalid and should no longer be used. For a failed mysql_stmt_close() call, do not call mysql_stmt_error(), or mysql_stmt_errno(), or ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-data-seek.html
void mysql_stmt_data_seek(MYSQL_STMT *stmt, uint64_t offset) Description Seeks to an arbitrary row in a statement result set. The offset value is a row number and should be in the range from 0 to mysql_stmt_num_rows(stmt)-1. This function requires ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-next-result.html
int mysql_stmt_next_result(MYSQL_STMT *mysql) Description This function is used when you use prepared CALL statements to execute stored procedures, which can return multiple result sets. Use a loop that calls mysql_stmt_next_result() to determine ...