mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
21 lines
407 B
Text
21 lines
407 B
Text
|
server_id =1
|
||
|
server_id =2
|
||
|
SHOW VARIABLES LIKE 'server_id';
|
||
|
Variable_name Value
|
||
|
server_id 1
|
||
|
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
|