Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-server-info.html
const char * mysql_get_server_info(MYSQL *mysql) Description Returns a string that represents the MySQL server version (for example, "8.4.6"). Return Values A character string that represents the MySQL server version.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-ssl-cipher.html
const char * mysql_get_ssl_cipher(MYSQL *mysql) Description mysql_get_ssl_cipher() returns the encryption cipher used for the given connection to the server. Return Values A string naming the encryption cipher used for the connection, or NULL if ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-info.html
const char * mysql_info(MYSQL *mysql) Description Retrieves a string providing information about the most recently executed statement, but only for the statements listed here. Return Values A character string representing additional information ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-list-dbs.html
MYSQL_RES * mysql_list_dbs(MYSQL *mysql, const char *wild) Description Returns a result set consisting of database names on the server 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-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 ...Calling mysql_list_tables() is similar to executing the query SHOW TABLES [LIKE ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-load-plugin-v.html
struct st_mysql_client_plugin * mysql_load_plugin_v(MYSQL *mysql, const char *name, int type, int argc, va_list args) Description This function is equivalent to mysql_load_plugin(), but it accepts a va_list instead of a variable list of arguments.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-load-plugin.html
struct st_mysql_client_plugin * mysql_load_plugin(MYSQL *mysql, const char *name, int type, int argc, ...) Description Loads a MySQL client plugin, specified by name and type. An error occurs if the type is invalid or the plugin cannot be loaded.
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. (Binary data may contain the \0 character, which mysql_query() interprets as the end of the statement ...