2005-10-01 01:14:50 +04:00
SHOW INSTANCES;
instance_name status
mysqld1 online
mysqld2 offline
SHOW INSTANCE STATUS mysqld1;
2006-02-10 03:35:07 +03:00
instance_name status version_number version
mysqld1 online VERSION_NUMBER VERSION
2005-10-01 01:14:50 +04:00
SHOW INSTANCE STATUS mysqld2;
2006-02-10 03:35:07 +03:00
instance_name status version_number version
mysqld2 offline VERSION_NUMBER VERSION
2005-10-01 01:14:50 +04:00
START INSTANCE mysqld2;
SHOW INSTANCES;
instance_name status
mysqld1 online
mysqld2 online
SHOW INSTANCE STATUS mysqld1;
2006-02-10 03:35:07 +03:00
instance_name status version_number version
mysqld1 online VERSION_NUMBER VERSION
2005-10-01 01:14:50 +04:00
SHOW INSTANCE STATUS mysqld2;
2006-02-10 03:35:07 +03:00
instance_name status version_number version
mysqld2 online VERSION_NUMBER VERSION
2005-10-01 01:14:50 +04:00
SHOW VARIABLES LIKE 'port';
Variable_name Value
2005-10-18 00:48:34 +04:00
port IM_MYSQLD1_PORT
2005-10-01 01:14:50 +04:00
STOP INSTANCE mysqld2;
SHOW INSTANCES;
instance_name status
mysqld1 online
mysqld2 offline
SHOW INSTANCE STATUS mysqld1;
2006-02-10 03:35:07 +03:00
instance_name status version_number version
mysqld1 online VERSION_NUMBER VERSION
2005-10-01 01:14:50 +04:00
SHOW INSTANCE STATUS mysqld2;
2006-02-10 03:35:07 +03:00
instance_name status version_number version
mysqld2 offline VERSION_NUMBER VERSION
2005-10-01 01:14:50 +04:00
START INSTANCE mysqld3;
ERROR HY000: Bad instance name. Check that the instance with such a name exists
START INSTANCE mysqld1;
ERROR HY000: The instance is already started
STOP INSTANCE mysqld3;
ERROR HY000: Bad instance name. Check that the instance with such a name exists
SHOW INSTANCES;
instance_name status
mysqld1 online
mysqld2 offline
Killing the process...
Sleeping...
Success: the process was restarted.
SHOW INSTANCES;
instance_name status
mysqld1 online
mysqld2 offline
START INSTANCE mysqld2;
SHOW INSTANCES;
instance_name status
mysqld1 online
mysqld2 online
Killing the process...
Sleeping...
Success: the process was killed.
SHOW INSTANCES;
instance_name status
mysqld1 online
mysqld2 offline
2006-02-10 02:15:55 +03:00
SHOW INSTANCE STATUS;
ERROR 42000: You have an error in your command syntax. Check the manual that corresponds to your MySQL Instance Manager version for the right syntax to use