Debian Codegraph @

mysql-test/suite/group_replication/r/gr_sql_api_max_connections.result

raw
1 #
2 # WL#13378: Component service to add a "admin" session
3 #
4 include/group_replication.inc
5 Warnings:
6 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
7 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
8 [connection server1]
9 # 1. Set max_connections to the value of current connections.
10 [connection server1]
11 SET @max_connections_saved = @@GLOBAL.max_connections;
12 SET @@GLOBAL.max_connections= (CURRENT_CONNECTIONS + 2);
13 include/assert.inc [max_connections must be the value of current connections]
14 # 2. Start Group Replication, the connections established
15 # through SQL API must not be disallowed due to
16 # max_connections being reached.
17 # Start Group Replication must succeed.
18 include/start_and_bootstrap_group_replication.inc
19 # 3. Clean up.
20 SET @@GLOBAL.max_connections = @max_connections_saved;
21 include/group_replication_end.inc
22 # End of 8.0 tests