Search Results
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-debug.html
void mysql_debug(const char *debug) Description Does a DBUG_PUSH with the given string. To use this function, you must compile the client library to support debugging. Example The call shown here causes the client library to generate a trace file ...
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-error.html
const char * mysql_error(MYSQL *mysql) Description 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 ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-client-info.html
const char * mysql_get_client_info(void) Description Returns a string that represents the MySQL client library version (for example, "8.4.6"). The function value is the version of MySQL that provides the client library. For more information, see ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-host-info.html
const char * mysql_get_host_info(MYSQL *mysql) Description Returns a string describing the type of connection in use, including the server host name. Return Values A character string representing the server host name and the connection type.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-option.html
int mysql_get_option(MYSQL *mysql, enum mysql_option option, const void *arg) Description 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 ...
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 ...