Search Results
https://dev.mysql.com/doc/c-api/8.4/en/c-api-introduction.html
The C API provides low-level access to the MySQL client/server protocol and enables C programs to access database contents. The C API code is distributed with MySQL and implemented in the libmysqlclient library. Most other client APIs use the ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-prepared-statement-interface.html
The MySQL client/server protocol provides for the use of prepared statements. This capability uses the MYSQL_STMT statement handler data structure returned by the mysql_stmt_init() initialization function. Prepared execution is an efficient way to ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-threaded-clients.html
This section provides guidance for writing client programs that use the thread-related functions in the MySQL C API. For further information about these functions, see Section 8.2, “C API Threaded Function Descriptions”. For examples of source ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-data-seek.html
void mysql_data_seek(MYSQL_RES *result, uint64_t offset) Description Seeks to an arbitrary row in a query result set. This function requires that the result set structure contains the entire result of the query, so mysql_data_seek() may be used ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-fetch-field.html
MYSQL_FIELD * mysql_fetch_field(MYSQL_RES *result) Description Returns the definition of one column of a result set as a MYSQL_FIELD structure. Call this function repeatedly to retrieve information about all columns in the result set. For ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-get-option.html
Nonzero if an error occurred; this occurs for option values that cannot be queried. 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 ...
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-fields.html
MYSQL_RES * mysql_list_fields(MYSQL *mysql, const char *table, const char *wild) Description Note mysql_list_fields() is deprecated and is subject to removal in a future version of MySQL. Instead, use mysql_real_query() or mysql_query() to execute ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-list-processes.html
MYSQL_RES * mysql_list_processes(MYSQL *mysql) Description Note mysql_list_processes() is deprecated and is subject to removal in a future version of MySQL. Instead, use mysql_real_query() or mysql_query() to execute a SHOW PROCESSLIST statement.
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 ...