https://dev.mysql.com/mysql-error.html
const char *mysql_error(MYSQL *mysql) For the connection specified by mysql, mysql_error() returns a null-terminated string containing the error message for the most recently invoked API function that failed. If a function did not fail, the return ...
https://dev.mysql.com/mysql-get-client-info.html
const char *mysql_get_client_info(void) Returns a string that represents the MySQL client library version (for example, "8.0.20"). The function value is the version of MySQL that provides the client library. For more information, see Section ...
https://dev.mysql.com/mysql-get-host-info.html
const char *mysql_get_host_info(MYSQL *mysql) Returns a string describing the type of connection in use, including the server host name. A character string representing the server host name and the connection type.
https://dev.mysql.com/mysql-get-option.html
int mysql_get_option(MYSQL *mysql, enum mysql_option option, const void *arg) Returns the current value of an option settable using mysql_options(). The option argument is the option for which you want its value. The arg argument is a pointer to a ...
https://dev.mysql.com/mysql-get-server-info.html
const char *mysql_get_server_info(MYSQL *mysql) Returns a string that represents the MySQL server version (for example, "8.0.20").
https://dev.mysql.com/mysql-get-ssl-cipher.html
const char *mysql_get_ssl_cipher(MYSQL *mysql) mysql_get_ssl_cipher() returns the encryption cipher used for the given connection to the server. A string naming the encryption cipher used for the connection, or NULL if the connection is not ...
https://dev.mysql.com/mysql-info.html
const char *mysql_info(MYSQL *mysql) Retrieves a string providing information about the most recently executed statement, but only for the statements listed here. A character string representing additional information about the most recently ...The ...
https://dev.mysql.com/mysql-list-dbs.html
MYSQL_RES *mysql_list_dbs(MYSQL *mysql, const char *wild) 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 characters % or _, or ...Calling mysql_list_dbs() is similar to executing the query SHOW DATABASES [LIKE ...
https://dev.mysql.com/mysql-list-tables.html
MYSQL_RES *mysql_list_tables(MYSQL *mysql, const char *wild) 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 characters % ...Calling mysql_list_tables() is similar to executing the query SHOW TABLES [LIKE ...
https://dev.mysql.com/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) This function is equivalent to mysql_load_plugin(), but it accepts a va_list instead of a variable list of parameters.