Search Results
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 ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-connect.html
MYSQL * mysql_real_connect(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 mysql_real_connect() is a synchronous function.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-escape-string-quote.html
unsigned long mysql_real_escape_string_quote(MYSQL *mysql, char *to, const char *from, unsigned long length, char quote) Description This function creates a legal SQL string for use in an SQL statement. The mysql argument must be a valid, open ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-escape-string.html
unsigned long mysql_real_escape_string(MYSQL *mysql, char *to, const char *from, unsigned long length) Description This function creates a legal SQL string for use in an SQL statement. Note mysql_real_escape_string() fails and produces an ...
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 ...