https://dev.mysql.com/mysql-cluster-quick.html
Try to create an NDBCLUSTER table: shell> mysql mysql> USE test; Database changed mysql> CREATE TABLE ctest (i INT) ENGINE=NDBCLUSTER; Query OK, 0 rows affected (0.09 sec) mysql> SHOW CREATE TABLE ctest \G *************************** 1. To ...
https://dev.mysql.com/mysql-cluster-replication-issues.html
If this occurs, it is entirely possible for new data to be inserted into the master cluster without being recorded in the replication master's binary log. For this reason, to guarantee high availability, it is extremely important to maintain a ...
https://dev.mysql.com/mysql-command-options.html
(This applies to statements terminated by ; or \G.) --batch, -B Print results using tab as the column separator, with each row on a new line. As of MySQL 8.0.19, when mysql operates in interactive mode, this option is enabled by default. By default, ... mysql supports the following options, which can be specified on the command line or in the [mysql] and [client] groups of an option ...
https://dev.mysql.com/mysql-fetch-fields.html
unsigned int num_fields; unsigned int i; MYSQL_FIELD *fields; num_fields = mysql_num_fields(result); fields = mysql_fetch_fields(result); for(i = 0; i < num_fields; i++) { printf("Field %u is %s\n", i, fields[i].name); } . MYSQL_FIELD ...
https://dev.mysql.com/mysql-fetch-lengths.html
An array of unsigned long integers representing the size of each column (not including any terminating null bytes). MYSQL_ROW row; unsigned long *lengths; unsigned int num_fields; unsigned int i; row = mysql_fetch_row(result); if (row) { num_fields ... unsigned long *mysql_fetch_lengths(MYSQL_RES *result) Returns the lengths of the columns of the current row within a result ...
https://dev.mysql.com/mysql-get-option.html
int mysql_get_option(MYSQL *mysql, enum mysql_option option, const void *arg) Returns the current value of an option settable using mysql_options(). The arg argument is a pointer to a variable in which to store the option value. arg must be a ...
https://dev.mysql.com/mysql-list-fields.html
wild may contain the wildcard characters % or _, or may be a NULL pointer to match all fields. int i; MYSQL_RES *tbl_cols = mysql_list_fields(mysql, "mytbl", "f%"); unsigned int field_cnt = mysql_num_fields(tbl_cols); printf("Number of columns: ...
https://dev.mysql.com/mysql-load-plugin-v.html
struct st_mysql_client_plugin *mysql_load_plugin_v(MYSQL *mysql, const char *name, int type, int argc, va_list args) This function is equivalent to mysql_load_plugin(), but it accepts a va_list instead of a variable list of parameters.
https://dev.mysql.com/mysql-load-plugin.html
struct st_mysql_client_plugin *mysql_load_plugin(MYSQL *mysql, const char *name, int type, int argc, ...) Loads a MySQL client plugin, specified by name and type. Specify the parameters as follows: mysql: A pointer to a MYSQL structure. MYSQL ...An ...
https://dev.mysql.com/mysql-refresh.html
int mysql_refresh(MYSQL *mysql, unsigned int options) Note mysql_refresh() is deprecated and will be removed in a future version of MySQL. This function flushes tables or caches, or resets replication server information. The options argument is a ...