mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
26 lines
754 B
Text
26 lines
754 B
Text
SHOW VARIABLES LIKE 'server_id';
|
|
Variable_name Value
|
|
server_id 1
|
|
SHOW INSTANCES;
|
|
instance_name status
|
|
mysqld1 online
|
|
mysqld2 offline
|
|
Killing the process...
|
|
Waiting...
|
|
Success: the process was restarted.
|
|
Success: server is ready to accept connection on socket.
|
|
|
|
--------------------------------------------------------------------
|
|
-- Test for BUG#12751
|
|
--------------------------------------------------------------------
|
|
START INSTANCE mysqld2;
|
|
Success: the process has been started.
|
|
Killing the process...
|
|
Waiting...
|
|
Success: the process was restarted.
|
|
Success: server is ready to accept connection on socket.
|
|
SHOW INSTANCE STATUS mysqld1;
|
|
instance_name status version
|
|
mysqld1 STATE VERSION
|
|
STOP INSTANCE mysqld2;
|
|
Success: the process has been stopped.
|