Search



Search Results
Displaying 2381 to 2390 of 3514 total results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-real-connect-nonblocking.html
enum net_async_status mysql_real_connect_nonblocking(MYSQL *mysql, const char *host, const char *user, const char *passwd, const char *db, unsigned int port, const char *unix_socket, unsigned long client_flag) Description Note ...It is the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-refresh.html
int mysql_refresh(MYSQL *mysql, unsigned int options) Description Note mysql_refresh() is deprecated and is subject to removal in a future version of MySQL. This function flushes tables or caches, or resets replication server information. The ...
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-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 ...
Displaying 2381 to 2390 of 3514 total results