Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-binlog-fetch.html
int mysql_binlog_fetch(MYSQL *mysql, MYSQL_RPL *rpl) Description Fetch one event from the replication event stream. After a successful call, the size member indicates the event size, which is 0 for an EOF event. For a non-EOF event, size is greater ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-binlog-open.html
int mysql_binlog_open(MYSQL *mysql, MYSQL_RPL *rpl) Description Open a new replication event stream, to read a MySQL server binary log. rpl: A MYSQL_RPL structure that has been initialized to indicate the replication event stream source. For a ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-client-find-plugin.html
struct st_mysql_client_plugin * mysql_client_find_plugin(MYSQL *mysql, const char *name, int type) Description Returns a pointer to a loaded plugin, loading the plugin first if necessary. An error occurs if the type is invalid or the plugin cannot ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-create-db.html
int mysql_create_db(MYSQL *mysql, const char *db) Description Creates the database named by the db parameter. Use mysql_real_query() or mysql_query() to issue an SQL CREATE DATABASE statement instead. CR_SERVER_LOST The connection to the server was ...
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-errno.html
unsigned int mysql_errno(MYSQL *mysql) Description For the connection specified by mysql, mysql_errno() returns the error code for the most recently invoked API function that can succeed or fail. Client error message numbers are listed in the MySQL ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-proto-info.html
unsigned int mysql_get_proto_info(MYSQL *mysql) Description Returns the protocol version used by current connection. Return Values An unsigned integer representing the protocol version used by the current connection.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-hex-string.html
unsigned long mysql_hex_string(char *to, const char *from, unsigned long length) Description This function creates a legal SQL string for use in an SQL statement. The string in the from argument is encoded in hexadecimal format, with each character ...
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, ...