Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-list-processes.html
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 mysql_real_query() or mysql_query() to execute a SHOW PROCESSLIST statement.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-list-tables.html
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 expression specified by the wild parameter. wild may contain the wildcard ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-next-result.html
Return Values Return Value Description 0 Successful and there are more results -1 Successful and there are no more results >0 An error occurred Errors CR_COMMANDS_OUT_OF_SYNC Commands were executed in an improper order. int mysql_next_result(MYSQL ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-ping.html
int mysql_ping(MYSQL *mysql) Description Checks whether the connection to the server is working. If the connection has gone down and auto-reconnect is enabled an attempt to reconnect is made. If the connection is down and auto-reconnect is ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-query.html
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 of a single SQL statement without a terminating semicolon (;) or \g. If ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-connect-dns-srv.html
The priority and weight values in the DNS SRV record determine the order in which servers should be tried. MYSQL * mysql_real_connect_dns_srv(MYSQL *mysql, const char *dns_srv_name, const char *user, const char *passwd, const char *db, unsigned ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-query.html
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 mysql_real_query_nonblocking(), for use by applications that require ...
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-select-db.html
int mysql_select_db(MYSQL *mysql, const char *db) Description Causes the database specified by db to become the default (current) database on the connection specified by mysql. In subsequent queries, this database is the default for table ...