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-server-version.html
unsigned long mysql_get_server_version(MYSQL *mysql) Description Returns an integer that represents the MySQL server version. The value has the format XXYYZZ, where XX is the major version, YY is the release level (or minor version), and ZZ is the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-ssl-session-reused.html
bool mysql_get_ssl_session_reused(MYSQL *mysql) Description Indicates whether the currently connected session is reusing a prior session. Return Values TRUE if a session was reused when establishing the TLS connection. FALSE if the session is not ...
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. The format of the string varies depending on the type of statement, as ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-init.html
MYSQL * mysql_init(MYSQL *mysql) Description Allocates or initializes a MYSQL object suitable for mysql_real_connect(). If mysql is a NULL pointer, the function allocates, initializes, and returns a new object. Otherwise, the object is initialized ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-library-init.html
int mysql_library_init(int argc, char **argv, char **groups) Description Call this function to initialize the MySQL client library before you call any other MySQL function. Note To avoid memory leaks after the application is done using the library ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-more-results.html
bool mysql_more_results(MYSQL *mysql) Description This function is used when you execute multiple statements specified as a single statement string, or when you execute CALL statements, which can return multiple result sets. mysql_more_results() ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-next-result-nonblocking.html
enum net_async_status mysql_next_result_nonblocking(MYSQL *mysql) Description Note mysql_next_result_nonblocking() is an asynchronous function. It is the counterpart of the mysql_next_result() synchronous function, for use by applications that ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-num-rows.html
uint64_t mysql_num_rows(MYSQL_RES *result) Description Returns the number of rows in the result set. The use of mysql_num_rows() depends on whether you use mysql_store_result() or mysql_use_result() to return the result set. If you use ...
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 ...