Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-options.html
int mysql_options(MYSQL *mysql, enum mysql_option option, const void *arg) Description Can be used to set extra connect options and affect behavior for a connection. This function may be called multiple times to set several options. The option ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-connect.html
Specify the arguments as follows: For the first argument, specify the address of an existing MYSQL structure. MYSQL * mysql_real_connect(MYSQL *mysql, const char *host, const char *user, const char *passwd, const char *db, unsigned int port, const ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-sqlstate.html
For example, the mysql client program displays errors using the following format, where 1146 is the mysql_errno() value and '42S02' is the corresponding mysql_sqlstate() value: $> SELECT * FROM no_such_table; ERROR 1146 (42S02): Table ... const char ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-execute.html
int mysql_stmt_execute(MYSQL_STMT *stmt) Description mysql_stmt_execute() executes the prepared query associated with the statement handler. The currently bound parameter marker values are sent to server during this call, and the server replaces ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-next-result.html
int mysql_stmt_next_result(MYSQL_STMT *mysql) Description This function is used when you use prepared CALL statements to execute stored procedures, which can return multiple result sets. Use a loop that calls mysql_stmt_next_result() to determine ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-result-metadata.html
MYSQL_RES * mysql_stmt_result_metadata(MYSQL_STMT *stmt) Description mysql_stmt_result_metadata() is used to obtain result set metadata for a prepared statement. Its use requires that the statement when executed by mysql_stmt_execute() does produce ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/plugin-api-characteristics.html
Interfaces for several types of plugins exist, such as storage engines, full-text parser, and INFORMATION_SCHEMA tables. The server plugin API has these characteristics: All plugins have several things in common. Each plugin has a name that it can ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/plugin-types.html
The plugin API enables creation of plugins that implement several capabilities: Loadable functions (UDFs) Storage engines Full-text parsers Daemons INFORMATION_SCHEMA tables Semisynchronous replication Auditing Authentication Password validation ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/services-for-plugins.html
To determine what services exist and what functions they provide, look in the include/mysql directory of a MySQL source distribution. MySQL server plugins have access to server “plugin services.” The plugin services interface exposes server ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/writing-full-text-plugins.html
For existing plugins that are called in boolean mode, support must be added for the position member. MySQL supports server-side full-text parser plugins with MyISAM and InnoDB. For introductory information about full-text parser plugins, see ...