Search Results
https://dev.mysql.com/doc/c-api/8.4/en/c-api-asynchronous-data-structures.html
This section describes data structures specific to asynchronous C API functions. For information about general-purpose C API data structures, see Section 5.2, “C API Basic Data Structures”. The value may be one of the CONNECT_STAGE_ symbols ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-auto-reconnect.html
The MySQL client library can perform an automatic reconnection to the server if it finds that the connection is down when you attempt to send a statement to the server to be executed. If auto-reconnect is enabled, the library tries once to ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-binary-log-data-structures.html
C API functions for processing a replication event stream from a server require a connection handler (a MYSQL * pointer) and a pointer to a MYSQL_RPL structure that describes the steam of replication events to read from the server binary log. int ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-building-clients-pkg-config.html
MySQL distributions contain a mysqlclient.pc file that provides information about MySQL configuration for use by the pkg-config command. This enables pkg-config to be used as an alternative to mysql_config for obtaining information such as compiler ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-implementations.html
The MySQL C API is a C-based API that client applications written in C can use to communicate with MySQL Server. Client programs refer to C API header files at compile time and link to a C API library file, libmysqlclient, at link time. To obtain ...
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-prepared-statement-type-conversions.html
Prepared statements transmit data between the client and server using C language variables on the client side that correspond to SQL values on the server side. If there is a mismatch between the C variable type on the client side and the ...
https://dev.mysql.com/doc/c-api/8.4/en/c-api-thread-interface.html
The MySQL C API includes functions enabling threaded client applications to be written. These functions provide control over thread initialization and termination with the client. Another C API function, mysql_thread_id(), has “thread” in its ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-bind-param.html
bool mysql_bind_param(MYSQL *mysql, unsigned n_params, MYSQL_BIND *bind, const char **name) Description mysql_bind_param(), available as of MySQL 8.0.23, enables defining attributes that apply to the next query sent to the server. For discussion of ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-binlog-open.html
int mysql_binlog_open(MYSQL *mysql, MYSQL_RPL *rpl) Description Open a new replication event stream, to read a MySQL server binary log. rpl: A MYSQL_RPL structure that has been initialized to indicate the replication event stream source. For a ...