2006-08-14 11:27:11 +02:00
SHOW VARIABLES LIKE 'server_id';
Variable_name Value
server_id 1
2005-09-30 23:14:50 +02:00
SHOW INSTANCES;
2006-05-18 16:57:50 +02:00
instance_name state
2006-11-27 00:47:38 +01:00
mysqld1 XXXXX
2005-09-30 23:14:50 +02:00
mysqld2 offline
2006-05-18 16:57:50 +02:00
--------------------------------------------------------------------
-- 1.1.2.
--------------------------------------------------------------------
2005-09-30 23:14:50 +02:00
START INSTANCE mysqld2;
2006-06-19 12:13:34 +02:00
Success: the process has been started.
2005-09-30 23:14:50 +02:00
SHOW VARIABLES LIKE 'port';
Variable_name Value
2006-05-18 16:57:50 +02:00
port IM_MYSQLD2_PORT
--------------------------------------------------------------------
-- 1.1.3.
--------------------------------------------------------------------
2005-09-30 23:14:50 +02:00
STOP INSTANCE mysqld2;
2006-06-19 12:13:34 +02:00
Success: the process has been stopped.
2006-05-18 16:57:50 +02:00
--------------------------------------------------------------------
-- 1.1.4.
--------------------------------------------------------------------
2005-09-30 23:14:50 +02:00
START INSTANCE mysqld3;
2006-11-07 03:21:33 +01:00
ERROR HY000: Unknown instance name
2005-09-30 23:14:50 +02:00
START INSTANCE mysqld1;
ERROR HY000: The instance is already started
2006-05-18 16:57:50 +02:00
--------------------------------------------------------------------
-- 1.1.5.
--------------------------------------------------------------------
2005-09-30 23:14:50 +02:00
STOP INSTANCE mysqld3;
2006-11-07 03:21:33 +01:00
ERROR HY000: Unknown instance name
2006-05-18 16:57:50 +02:00
--------------------------------------------------------------------
-- 1.1.6.
--------------------------------------------------------------------
2005-09-30 23:14:50 +02:00
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.
SHOW INSTANCES;
2006-05-18 16:57:50 +02:00
instance_name state
2005-09-30 23:14:50 +02:00
mysqld1 online
mysqld2 offline
2006-06-19 12:13:34 +02:00
--------------------------------------------------------------------
-- 1.1.7.
--------------------------------------------------------------------
2005-09-30 23:14:50 +02:00
START INSTANCE mysqld2;
2006-06-19 12:13:34 +02:00
Success: the process has been started.
2005-09-30 23:14:50 +02:00
Killing the process...
2006-11-23 20:55:36 +01:00
Waiting...
2005-09-30 23:14:50 +02:00
Success: the process was killed.
2006-05-18 16:57:50 +02:00
--------------------------------------------------------------------
-- 1.1.8.
--------------------------------------------------------------------
2006-02-10 00:15:55 +01: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
2006-05-18 16:57:50 +02:00
--------------------------------------------------------------------
-- BUG#12813
--------------------------------------------------------------------
2006-02-14 01:09:17 +01:00
START INSTANCE mysqld1,mysqld2,mysqld3;
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
STOP INSTANCE mysqld1,mysqld2,mysqld3;
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
2006-07-12 21:30:22 +02:00
STOP INSTANCE mysqld2;
ERROR HY000: Cannot stop instance. Perhaps the instance is not started, or was started manually, so IM cannot find the pidfile.
End of 5.0 tests