mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
5fab3969af
into bodhi.local:/opt/local/work/mysql-5.1-runtime-merge BitKeeper/deleted/.del-im_check_os.inc: Auto merged BitKeeper/deleted/.del-im_options_set.imtest~b53d9d60e5684833: Auto merged BitKeeper/deleted/.del-im_options_set.result~59278f56be61d921: Auto merged BitKeeper/deleted/.del-im_options_unset.imtest~768eb186b51d0048: Auto merged configure.in: Auto merged BitKeeper/deleted/.del-im_options_unset.result~20a4790cd3c70a4f: Auto merged include/mysql_com.h: Auto merged mysql-test/lib/mtr_io.pl: Auto merged mysql-test/r/im_daemon_life_cycle.result: Auto merged mysql-test/r/im_life_cycle.result: Auto merged mysql-test/r/im_utils.result: Auto merged mysql-test/r/sp-error.result: Auto merged mysql-test/r/trigger.result: Auto merged mysql-test/r/type_varchar.result: Auto merged mysql-test/r/view.result: Auto merged mysql-test/t/im_daemon_life_cycle.imtest: Auto merged mysql-test/t/im_life_cycle.imtest: Auto merged mysql-test/t/im_utils.imtest: Auto merged mysql-test/t/sp-error.test: Auto merged mysql-test/t/trigger.test: Auto merged mysql-test/t/type_varchar.test: Auto merged mysql-test/t/view.test: Auto merged sql/item.cc: Auto merged sql/item.h: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_func.cc: Auto merged sql/item_row.cc: Auto merged sql/item_strfunc.cc: Auto merged sql/item_strfunc.h: Auto merged sql/mysql_priv.h: Auto merged sql/net_serv.cc: Auto merged sql/protocol.cc: Auto merged sql/sp_head.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_cache.cc: Auto merged sql/sql_cache.h: Auto merged sql/sql_class.cc: Auto merged sql/sql_error.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_trigger.h: Auto merged sql/sql_yacc.yy: Auto merged mysql-test/mysql-test-run.pl: Use local. Alik will merge his changes manually. mysql-test/lib/mtr_process.pl: Use local. mysql-test/r/grant.result: Use local. mysql-test/r/sp.result: Use local. mysql-test/r/ps.result: Manual merge. mysql-test/t/grant.test: Manual merge. mysql-test/t/ps.test: Manual merge. mysql-test/t/sp.test: Manual merge. sql/Makefile.am: Manual merge. sql/field.cc: Manual merge. sql/mysqld.cc: Manual merge. sql/share/errmsg.txt: Manual merge. sql/sp.cc: Manual merge. sql/sp_head.h: Manual merge. sql/sql_trigger.cc: Manual merge. sql/sql_view.cc: Manual merge.
73 lines
2.7 KiB
Text
73 lines
2.7 KiB
Text
SHOW VARIABLES LIKE 'server_id';
|
|
Variable_name Value
|
|
server_id 1
|
|
SHOW INSTANCES;
|
|
instance_name state
|
|
mysqld1 online
|
|
mysqld2 offline
|
|
|
|
--------------------------------------------------------------------
|
|
-- 1.1.2.
|
|
--------------------------------------------------------------------
|
|
START INSTANCE mysqld2;
|
|
Success: the process has been started.
|
|
SHOW VARIABLES LIKE 'port';
|
|
Variable_name Value
|
|
port IM_MYSQLD2_PORT
|
|
|
|
--------------------------------------------------------------------
|
|
-- 1.1.3.
|
|
--------------------------------------------------------------------
|
|
STOP INSTANCE mysqld2;
|
|
Success: the process has been stopped.
|
|
|
|
--------------------------------------------------------------------
|
|
-- 1.1.4.
|
|
--------------------------------------------------------------------
|
|
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
|
|
|
|
--------------------------------------------------------------------
|
|
-- 1.1.5.
|
|
--------------------------------------------------------------------
|
|
STOP INSTANCE mysqld3;
|
|
ERROR HY000: Bad instance name. Check that the instance with such a name exists
|
|
|
|
--------------------------------------------------------------------
|
|
-- 1.1.6.
|
|
--------------------------------------------------------------------
|
|
Killing the process...
|
|
Sleeping...
|
|
Success: the process was restarted.
|
|
SHOW INSTANCES;
|
|
instance_name state
|
|
mysqld1 online
|
|
mysqld2 offline
|
|
|
|
--------------------------------------------------------------------
|
|
-- 1.1.7.
|
|
--------------------------------------------------------------------
|
|
START INSTANCE mysqld2;
|
|
Success: the process has been started.
|
|
Killing the process...
|
|
Sleeping...
|
|
Success: the process was killed.
|
|
|
|
--------------------------------------------------------------------
|
|
-- 1.1.8.
|
|
--------------------------------------------------------------------
|
|
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
|
|
|
|
--------------------------------------------------------------------
|
|
-- BUG#12813
|
|
--------------------------------------------------------------------
|
|
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
|
|
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
|