summaryrefslogtreecommitdiff
path: root/mysql-test/r/im_options_set.result
blob: f7b7e8eaef7adf1fe2a91f620f5d8f54406020f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SHOW VARIABLES LIKE 'server_id';
Variable_name	Value
server_id	1
SHOW INSTANCES;
instance_name	status
mysqld1	online
mysqld2	offline
SET mysqld1.server_id = 11;
server_id =11
server_id           = 2
SHOW VARIABLES LIKE 'server_id';
Variable_name	Value
server_id	1
SET mysqld2.server_id = 12;
server_id =11
server_id =12
FLUSH INSTANCES;
server_id =11
server_id =12
SHOW VARIABLES LIKE 'server_id';
Variable_name	Value
server_id	1