Search Results
https://dev.mysql.com/doc/ndbapi/en/mgm-examples-event-logging-dual.html
This example shown in this section illustrates the handling of log events using the MGM API on multiple clusters in a single application. The source code for this program may be found in the NDB Cluster source tree, in the file ...
https://dev.mysql.com/doc/ndbapi/en/ndb-examples-event-handling.html
The source code for this program may be found in the NDB Cluster source tree, in the file storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp. #include <NdbApi.hpp> // Used for cout #include <stdio.h> #include <iostream> #include <unistd.h> ...
https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-9-4-0.html
These timeouts can be set in milliseconds with the following methods: For both APIs, with the connection options read-timeout and write-timeout in the connection string. The timeouts can only be set at the time of connection. Functionality Added or ... Note These release notes were created with the assistance of MySQL HeatWave ...
https://dev.mysql.com/doc/internals/en/debug-sync-facility.html
There is a default timeout, but it can be overridden: SET DEBUG_SYNC= 'name WAIT_FOR sig TIMEOUT 10 EXECUTE 2'; TIMEOUT 0 is special: If the signal is not present, the wait times out immediately. If a wait timeout occurs (even on TIMEOUT 0), a ...
https://dev.mysql.com/doc/refman/8.4/en/locking-functions.html
If so, it returns the connection identifier of the client session that holds the lock. While held by one session, other sessions cannot obtain a lock of the same name. Returns 1 if the lock was obtained successfully, 0 if the attempt timed out (for ...
https://dev.mysql.com/doc/refman/8.4/en/innodb-error-handling.html
A lock wait timeout causes InnoDB to roll back the current statement (the statement that was waiting for the lock and encountered the timeout). To have the entire transaction roll back, start the server with --innodb-rollback-on-timeout enabled.
https://dev.mysql.com/doc/refman/8.4/en/connecting-using-dns-srv.html
MySQL supports the use of DNS SRV records for connecting to servers. A client that receives a DNS SRV lookup result attempts to connect to the MySQL server on each of the listed hosts in order of preference, based on the priority and weighting ...
https://dev.mysql.com/doc/heatwave-aws/en/heatwave-aws-connecting-client.html
Connecting from a Client 5.2 Connecting from a Client Connecting to a DB System from a MySQL client requires a MySQL user account on the MySQL DB System. You cannot connect from a MySQL client to a DB System using the Oracle Cloud Account user name ...You can use the MySQL Administrator user that you specified when creating the DB System (see Creating a DB System) or a MySQL user account created on the DB System using CREATE ...
https://dev.mysql.com/doc/ndbapi/en/ndb-start-establishing-connection.html
To establish a connection to the server, you must create an instance of Ndb_cluster_connection, whose constructor takes as its argument a cluster connection string. The cluster connection is not actually initiated until the ...This is usually a ...
https://dev.mysql.com/doc/x-devapi-userguide/en/database-connection-example.html
The code that is needed to connect to a MySQL document store looks a lot like the traditional MySQL connection code, but now applications can establish logical sessions to MySQL server instances running the X Plugin. You pass in the connection ...