Search



Search Results
Displaying 2401 to 2410 of 3458 total results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-reload.html
int mysql_reload(MYSQL *mysql) Description Asks the MySQL server to reload the grant tables. Use mysql_real_query() or mysql_query() to issue an SQL FLUSH PRIVILEGES statement instead. CR_SERVER_LOST The connection to the server was lost during the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-reset-connection.html
mysql_reset_connection() has effects similar to mysql_change_user() or an auto-reconnect except that the connection is not closed and reopened, and reauthentication is not done. int mysql_reset_connection(MYSQL *mysql) Description Resets the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-select-db.html
mysql_select_db() fails unless the connected user can be authenticated as having permission to use the database or some object within it. int mysql_select_db(MYSQL *mysql, const char *db) Description Causes the database specified by db to become ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-session-track-get-first.html
int mysql_session_track_get_first(MYSQL *mysql, enum enum_session_state_type type, const char **data, size_t *length) Description MySQL implements a session tracker mechanism whereby the server returns information about session state changes to ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-set-character-set.html
Example MYSQL mysql; mysql_init(&mysql); if (!mysql_real_connect(&mysql,"host","user","passwd","database",0,NULL,0)) { fprintf(stderr, "Failed to connect to database: Error: %s\n", mysql_error(&mysql)); } if (!mysql_set_character_set(&mysql, ... int ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-set-local-infile-handler.html
void mysql_set_local_infile_handler(MYSQL *mysql, int (*local_infile_init)(void **, const char *, void *), int (*local_infile_read)(void *, char *, unsigned int), void (*local_infile_end)(void *), int (*local_infile_error)(void *, char*, unsigned ...It enables application programs to exert control over local (client-side) data file ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-shutdown.html
int mysql_shutdown(MYSQL *mysql, enum mysql_enum_shutdown_level shutdown_level) Description Note mysql_shutdown() is deprecated and will be removed in a future version of MySQL. MySQL servers support only one type of shutdown; shutdown_level must ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-use-result.html
On the other hand, you should not use mysql_use_result() for locking reads if you are doing a lot of processing for each row on the client side, or if the output is sent to a screen on which the user may type a ^S (stop scroll). MYSQL_RES * ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/client-plugin-descriptors.html
*/ mysql_options(&mysql, MYSQL_PLUGIN_DIR, plugin_dir); mysql_options(&mysql, MYSQL_DEFAULT_AUTH, default_auth); Typically, the program will also accept --plugin-dir and --default-auth options that enable users to override the default values. Each ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/index.html
Feel free to ask questions about the code and to send patches that you would like to contribute to the MySQL project! For help with using MySQL, please visit the MySQL Forums, where you can discuss your issues with other MySQL users. Abstract This ...
Displaying 2401 to 2410 of 3458 total results