Search Results
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, ...
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-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-plugin-get-option.html
int mysql_plugin_get_option(struct st_mysql_client_plugin *plugin, const char *option, void *value) Description Given a plugin structure and an option name, returns the option value. If the plugin does not have an option handler, an error occurs.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-plugin-options.html
int mysql_plugin_options(struct st_mysql_client_plugin *plugin, const char *option, const void *value) Description Passes an option type and value to a plugin. This function can be called multiple times to set several options. If the plugin does ...
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-nonblocking.html
enum net_async_status mysql_real_connect_nonblocking(MYSQL *mysql, const char *host, const char *user, const char *passwd, const char *db, unsigned int port, const char *unix_socket, unsigned long client_flag) Description Note ...