mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
d7ddf0e02f
mysql-test/r/im_life_cycle.result: correct result mysql-test/t/im_life_cycle.imtest: check that wrong command is processed correctly server-tools/instance-manager/Makefile.am: always look for passwords in /etc/ on unixes server-tools/instance-manager/commands.cc: fix warning server-tools/instance-manager/instance.cc: fix monitoring capabilities, when no port was specified for an instance server-tools/instance-manager/instance_map.cc: allow relative paths in --defaults-file option server-tools/instance-manager/mysqlmanager.cc: fix windows warning server-tools/instance-manager/options.cc: add vars to allow relative paths in --defaults-file option server-tools/instance-manager/options.h: add an option server-tools/instance-manager/parse.cc: check for get_text_id return value server-tools/instance-manager/portability.h: add _snprintf define, move platfrom-independent ifdefs to priv.h server-tools/instance-manager/priv.cc: increase net timeout. it should be equal to mysqld's server-tools/instance-manager/priv.h: move platform-independent ifdefs here
66 lines
1.7 KiB
Text
66 lines
1.7 KiB
Text
SHOW INSTANCES;
|
|
instance_name status
|
|
mysqld1 online
|
|
mysqld2 offline
|
|
SHOW INSTANCE STATUS mysqld1;
|
|
instance_name status version
|
|
mysqld1 online VERSION
|
|
SHOW INSTANCE STATUS mysqld2;
|
|
instance_name status version
|
|
mysqld2 offline VERSION
|
|
START INSTANCE mysqld2;
|
|
SHOW INSTANCES;
|
|
instance_name status
|
|
mysqld1 online
|
|
mysqld2 online
|
|
SHOW INSTANCE STATUS mysqld1;
|
|
instance_name status version
|
|
mysqld1 online VERSION
|
|
SHOW INSTANCE STATUS mysqld2;
|
|
instance_name status version
|
|
mysqld2 online VERSION
|
|
SHOW VARIABLES LIKE 'port';
|
|
Variable_name Value
|
|
port IM_MYSQLD1_PORT
|
|
STOP INSTANCE mysqld2;
|
|
SHOW INSTANCES;
|
|
instance_name status
|
|
mysqld1 online
|
|
mysqld2 offline
|
|
SHOW INSTANCE STATUS mysqld1;
|
|
instance_name status version
|
|
mysqld1 online VERSION
|
|
SHOW INSTANCE STATUS mysqld2;
|
|
instance_name status version
|
|
mysqld2 offline VERSION
|
|
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
|
|
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
|