2006-07-20 11:24:12 +02:00
|
|
|
SHOW VARIABLES LIKE 'server_id';
|
|
|
|
Variable_name Value
|
|
|
|
server_id 1
|
2005-09-30 23:14:50 +02:00
|
|
|
SHOW INSTANCES;
|
|
|
|
instance_name status
|
|
|
|
mysqld1 online
|
|
|
|
mysqld2 offline
|
|
|
|
Killing the process...
|
2006-11-23 20:55:36 +01:00
|
|
|
Waiting...
|
2005-09-30 23:14:50 +02:00
|
|
|
Success: the process was restarted.
|
2006-10-03 16:42:59 +02:00
|
|
|
Success: server is ready to accept connection on socket.
|
2006-09-01 16:20:33 +02:00
|
|
|
|
|
|
|
--------------------------------------------------------------------
|
|
|
|
-- Test for BUG#12751
|
|
|
|
--------------------------------------------------------------------
|
|
|
|
START INSTANCE mysqld2;
|
|
|
|
Success: the process has been started.
|
|
|
|
Killing the process...
|
2006-11-23 20:55:36 +01:00
|
|
|
Waiting...
|
2006-09-01 16:20:33 +02:00
|
|
|
Success: the process was restarted.
|
2006-11-02 19:43:52 +01:00
|
|
|
Success: server is ready to accept connection on socket.
|
2006-09-01 16:20:33 +02:00
|
|
|
SHOW INSTANCE STATUS mysqld1;
|
|
|
|
instance_name status version
|
2007-02-23 19:13:21 +01:00
|
|
|
mysqld1 STATE VERSION
|
2006-09-01 16:20:33 +02:00
|
|
|
STOP INSTANCE mysqld2;
|
|
|
|
Success: the process has been stopped.
|