mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Move instance manager tests to it's own suite
This commit is contained in:
47
mysql-test/suite/im/r/im_cmd_line.result
Normal file
47
mysql-test/suite/im/r/im_cmd_line.result
Normal file
@@ -0,0 +1,47 @@
|
||||
SHOW VARIABLES LIKE 'server_id';
|
||||
Variable_name Value
|
||||
server_id 1
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 XXXXX
|
||||
mysqld2 offline
|
||||
--> Listing users...
|
||||
im_admin
|
||||
|
||||
==> Adding user 'testuser'...
|
||||
|
||||
--> IM password file:
|
||||
testuser:*0D3CED9BEC10A777AEC23CCC353A8C08A633045E
|
||||
im_admin:*598D51AD2DFF7792045D6DF3DDF9AA1AF737B295
|
||||
--> EOF
|
||||
|
||||
--> Printing out line for 'testuser'...
|
||||
testuser:*0D3CED9BEC10A777AEC23CCC353A8C08A633045E
|
||||
|
||||
--> Listing users...
|
||||
im_admin
|
||||
testuser
|
||||
|
||||
==> Changing the password of 'testuser'...
|
||||
|
||||
--> IM password file:
|
||||
im_admin:*598D51AD2DFF7792045D6DF3DDF9AA1AF737B295
|
||||
testuser:*39C549BDECFBA8AFC3CE6B948C9359A0ECE08DE2
|
||||
--> EOF
|
||||
|
||||
--> Printing out line for 'testuser'...
|
||||
testuser:*39C549BDECFBA8AFC3CE6B948C9359A0ECE08DE2
|
||||
|
||||
--> Listing users...
|
||||
testuser
|
||||
im_admin
|
||||
|
||||
==> Dropping user 'testuser'...
|
||||
|
||||
--> IM password file:
|
||||
im_admin:*598D51AD2DFF7792045D6DF3DDF9AA1AF737B295
|
||||
--> EOF
|
||||
|
||||
--> Listing users...
|
||||
im_admin
|
||||
|
26
mysql-test/suite/im/r/im_daemon_life_cycle.result
Normal file
26
mysql-test/suite/im/r/im_daemon_life_cycle.result
Normal file
@@ -0,0 +1,26 @@
|
||||
SHOW VARIABLES LIKE 'server_id';
|
||||
Variable_name Value
|
||||
server_id 1
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 XXXXX
|
||||
mysqld2 offline
|
||||
Killing the process...
|
||||
Waiting...
|
||||
Success: the process was restarted.
|
||||
Success: server is ready to accept connection on socket.
|
||||
|
||||
--------------------------------------------------------------------
|
||||
-- Test for BUG#12751
|
||||
--------------------------------------------------------------------
|
||||
START INSTANCE mysqld2;
|
||||
Success: the process has been started.
|
||||
Killing the process...
|
||||
Waiting...
|
||||
Success: the process was restarted.
|
||||
Success: server is ready to accept connection on socket.
|
||||
SHOW INSTANCE STATUS mysqld1;
|
||||
instance_name state version_number version mysqld_compatible
|
||||
mysqld1 STATE VERSION_NUMBER VERSION no
|
||||
STOP INSTANCE mysqld2;
|
||||
Success: the process has been stopped.
|
225
mysql-test/suite/im/r/im_instance_conf.result
Normal file
225
mysql-test/suite/im/r/im_instance_conf.result
Normal file
@@ -0,0 +1,225 @@
|
||||
SHOW VARIABLES LIKE 'server_id';
|
||||
Variable_name Value
|
||||
server_id 1
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 XXXXX
|
||||
mysqld2 offline
|
||||
--------------------------------------------------------------------
|
||||
server_id = 1
|
||||
server_id = 2
|
||||
--------------------------------------------------------------------
|
||||
CREATE INSTANCE mysqld3
|
||||
server_id = 3,
|
||||
socket = "$MYSQL_TMP_DIR/mysqld_3.sock";
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld3 offline
|
||||
mysqld2 offline
|
||||
mysqld1 online
|
||||
--------------------------------------------------------------------
|
||||
server_id = 1
|
||||
server_id = 2
|
||||
server_id=3
|
||||
--------------------------------------------------------------------
|
||||
CREATE INSTANCE mysqld1;
|
||||
ERROR HY000: Instance already exists
|
||||
CREATE INSTANCE mysqld2;
|
||||
ERROR HY000: Instance already exists
|
||||
CREATE INSTANCE mysqld3;
|
||||
ERROR HY000: Instance already exists
|
||||
--------------------------------------------------------------------
|
||||
nonguarded
|
||||
--------------------------------------------------------------------
|
||||
CREATE INSTANCE mysqld4
|
||||
nonguarded,
|
||||
server_id = 4,
|
||||
socket = "$MYSQL_TMP_DIR/mysqld_4.sock";
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld3 offline
|
||||
mysqld4 offline
|
||||
mysqld1 online
|
||||
mysqld2 offline
|
||||
--------------------------------------------------------------------
|
||||
nonguarded
|
||||
nonguarded
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
CREATE INSTANCE mysqld5
|
||||
test-A = 000,
|
||||
test-B = test,
|
||||
server_id = 5,
|
||||
socket = "$MYSQL_TMP_DIR/mysqld_5.sock";
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld4 offline
|
||||
mysqld5 offline
|
||||
mysqld2 offline
|
||||
mysqld3 offline
|
||||
--------------------------------------------------------------------
|
||||
test-A=000
|
||||
--------------------------------------------------------------------
|
||||
test-B=test
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
CREATE INSTANCE mysqld6
|
||||
test-C1 = 10 ,
|
||||
test-C2 = 02 ,
|
||||
server_id = 6,
|
||||
socket = "$MYSQL_TMP_DIR/mysqld_6.sock";
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld2 offline
|
||||
mysqld5 offline
|
||||
mysqld6 offline
|
||||
mysqld3 offline
|
||||
mysqld4 offline
|
||||
--------------------------------------------------------------------
|
||||
test-C1=10
|
||||
--------------------------------------------------------------------
|
||||
test-C2=02
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
CREATE INSTANCE mysqld7 test-D = test-D-value ;
|
||||
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
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld2 offline
|
||||
mysqld5 offline
|
||||
mysqld6 offline
|
||||
mysqld3 offline
|
||||
mysqld4 offline
|
||||
CREATE INSTANCE mysqld8 test-E 0 ;
|
||||
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
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld2 offline
|
||||
mysqld5 offline
|
||||
mysqld6 offline
|
||||
mysqld3 offline
|
||||
mysqld4 offline
|
||||
CREATE INSTANCE mysqld8 test-F = ;
|
||||
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
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld2 offline
|
||||
mysqld5 offline
|
||||
mysqld6 offline
|
||||
mysqld3 offline
|
||||
mysqld4 offline
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
CREATE INSTANCE mysqld9
|
||||
test-1=" hello world ",
|
||||
test-2=' ',
|
||||
server_id = 9,
|
||||
socket = "$MYSQL_TMP_DIR/mysqld_9.sock";
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld2 offline
|
||||
mysqld5 offline
|
||||
mysqld6 offline
|
||||
mysqld3 offline
|
||||
mysqld4 offline
|
||||
mysqld9 offline
|
||||
CREATE INSTANCE mysqld10
|
||||
test-3='\b\babc\sdef',
|
||||
server_id = 10,
|
||||
socket = "$MYSQL_TMP_DIR/mysqld_10.sock";
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld9 offline
|
||||
mysqld5 offline
|
||||
mysqld6 offline
|
||||
mysqld3 offline
|
||||
mysqld4 offline
|
||||
mysqld10 offline
|
||||
mysqld2 offline
|
||||
CREATE INSTANCE mysqld11
|
||||
test-4='abc\tdef',
|
||||
test-5='abc\ndef',
|
||||
server_id = 11,
|
||||
socket = "$MYSQL_TMP_DIR/mysqld_11.sock";
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld11 offline
|
||||
mysqld5 offline
|
||||
mysqld6 offline
|
||||
mysqld3 offline
|
||||
mysqld4 offline
|
||||
mysqld10 offline
|
||||
mysqld2 offline
|
||||
mysqld9 offline
|
||||
CREATE INSTANCE mysqld12
|
||||
test-6="abc\rdef",
|
||||
test-7="abc\\def",
|
||||
server_id = 12,
|
||||
socket = "$MYSQL_TMP_DIR/mysqld_12.sock";
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld9 offline
|
||||
mysqld5 offline
|
||||
mysqld6 offline
|
||||
mysqld3 offline
|
||||
mysqld4 offline
|
||||
mysqld10 offline
|
||||
mysqld2 offline
|
||||
mysqld12 offline
|
||||
mysqld11 offline
|
||||
CREATE INSTANCE mysqld13 test-bad=' \ ';
|
||||
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
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld9 offline
|
||||
mysqld5 offline
|
||||
mysqld6 offline
|
||||
mysqld3 offline
|
||||
mysqld4 offline
|
||||
mysqld10 offline
|
||||
mysqld2 offline
|
||||
mysqld12 offline
|
||||
mysqld11 offline
|
||||
--------------------------------------------------------------------
|
||||
test-1= hello world
|
||||
--------------------------------------------------------------------
|
||||
test-2=
|
||||
--------------------------------------------------------------------
|
||||
test-3=abc def
|
||||
--------------------------------------------------------------------
|
||||
test-4=abc def
|
||||
--------------------------------------------------------------------
|
||||
test-5=abc
|
||||
--------------------------------------------------------------------
|
||||
test-6=abc
|
||||
def
|
||||
--------------------------------------------------------------------
|
||||
test-7=abc\def
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
CREATE INSTANCE qqq1;
|
73
mysql-test/suite/im/r/im_life_cycle.result
Normal file
73
mysql-test/suite/im/r/im_life_cycle.result
Normal file
@@ -0,0 +1,73 @@
|
||||
SHOW VARIABLES LIKE 'server_id';
|
||||
Variable_name Value
|
||||
server_id 1
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 XXXXX
|
||||
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: Unknown instance name
|
||||
START INSTANCE mysqld1;
|
||||
ERROR HY000: The instance is already started
|
||||
|
||||
--------------------------------------------------------------------
|
||||
-- 1.1.5.
|
||||
--------------------------------------------------------------------
|
||||
STOP INSTANCE mysqld3;
|
||||
ERROR HY000: Unknown instance name
|
||||
|
||||
--------------------------------------------------------------------
|
||||
-- 1.1.6.
|
||||
--------------------------------------------------------------------
|
||||
Killing the process...
|
||||
Waiting...
|
||||
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...
|
||||
Waiting...
|
||||
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
|
151
mysql-test/suite/im/r/im_options.result
Normal file
151
mysql-test/suite/im/r/im_options.result
Normal file
@@ -0,0 +1,151 @@
|
||||
SHOW VARIABLES LIKE 'server_id';
|
||||
Variable_name Value
|
||||
server_id 1
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 XXXXX
|
||||
mysqld2 offline
|
||||
UNSET mysqld1.server_id;
|
||||
ERROR HY000: The instance is active. Stop the instance first
|
||||
SET mysqld1.server_id = 11;
|
||||
ERROR HY000: The instance is active. Stop the instance first
|
||||
CREATE INSTANCE mysqld3
|
||||
datadir = '/',
|
||||
server_id = 3,
|
||||
socket = "$MYSQL_TMP_DIR/mysqld_3.sock";
|
||||
START INSTANCE mysqld3;
|
||||
UNSET mysqld3.server_id;
|
||||
ERROR HY000: The instance is active. Stop the instance first
|
||||
SET mysqld3.server_id = 11;
|
||||
ERROR HY000: The instance is active. Stop the instance first
|
||||
STOP INSTANCE mysqld3;
|
||||
SHOW INSTANCE STATUS mysqld3;
|
||||
instance_name state version_number version mysqld_compatible
|
||||
mysqld3 offline VERSION_NUMBER VERSION no
|
||||
UNSET mysqld2.server_id;
|
||||
UNSET mysqld2.server_id;
|
||||
SHOW INSTANCE OPTIONS mysqld2;
|
||||
option_name value
|
||||
instance_name option_value
|
||||
socket option_value
|
||||
pid-file option_value
|
||||
port option_value
|
||||
datadir option_value
|
||||
log option_value
|
||||
log-error option_value
|
||||
log-slow-queries option_value
|
||||
language option_value
|
||||
character-sets-dir option_value
|
||||
basedir option_value
|
||||
shutdown-delay option_value
|
||||
skip-stack-trace option_value
|
||||
loose-skip-innodb option_value
|
||||
loose-skip-ndbcluster option_value
|
||||
nonguarded option_value
|
||||
log-output option_value
|
||||
SET mysqld2.server_id = 2;
|
||||
SET mysqld2.server_id = 2;
|
||||
SHOW INSTANCE OPTIONS mysqld2;
|
||||
option_name value
|
||||
instance_name option_value
|
||||
socket option_value
|
||||
pid-file option_value
|
||||
port option_value
|
||||
datadir option_value
|
||||
log option_value
|
||||
log-error option_value
|
||||
log-slow-queries option_value
|
||||
language option_value
|
||||
character-sets-dir option_value
|
||||
basedir option_value
|
||||
shutdown-delay option_value
|
||||
skip-stack-trace option_value
|
||||
loose-skip-innodb option_value
|
||||
loose-skip-ndbcluster option_value
|
||||
nonguarded option_value
|
||||
log-output option_value
|
||||
server_id option_value
|
||||
UNSET mysqld2.server_id = 11;
|
||||
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
|
||||
SET mysqld2.aaa, mysqld3.bbb, mysqld2.ccc = 0010, mysqld3.ddd = 0020;
|
||||
--------------------------------------------------------------------
|
||||
aaa
|
||||
--------------------------------------------------------------------
|
||||
bbb
|
||||
--------------------------------------------------------------------
|
||||
ccc=0010
|
||||
--------------------------------------------------------------------
|
||||
ddd=0020
|
||||
--------------------------------------------------------------------
|
||||
UNSET mysqld2.aaa, mysqld3.bbb, mysqld2.ccc, mysqld3.ddd;
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
SET mysqld2.aaa, mysqld3.bbb, mysqld.ccc = 0010;
|
||||
ERROR HY000: Unknown instance name
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
SET mysqld2.aaa, mysqld3.bbb, mysqld1.ccc = 0010;
|
||||
ERROR HY000: The instance is active. Stop the instance first
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
UNSET mysqld2.server_id, mysqld3.server_id, mysqld.ccc;
|
||||
ERROR HY000: Unknown instance name
|
||||
--------------------------------------------------------------------
|
||||
server_id = 1
|
||||
server_id=2
|
||||
server_id=3
|
||||
--------------------------------------------------------------------
|
||||
UNSET mysqld2.server_id, mysqld3.server_id, mysqld1.ccc;
|
||||
ERROR HY000: The instance is active. Stop the instance first
|
||||
--------------------------------------------------------------------
|
||||
server_id = 1
|
||||
server_id=2
|
||||
server_id=3
|
||||
--------------------------------------------------------------------
|
||||
DROP INSTANCE mysqld3;
|
||||
SET mysqld2.server_id=222;
|
||||
SET mysqld2.server_id = 222;
|
||||
SET mysqld2.server_id = 222 ;
|
||||
SET mysqld2 . server_id = 222 ;
|
||||
SET mysqld2 . server_id = 222 , mysqld2 . aaa , mysqld2 . bbb ;
|
||||
--------------------------------------------------------------------
|
||||
server_id = 1
|
||||
server_id=222
|
||||
--------------------------------------------------------------------
|
||||
aaa
|
||||
--------------------------------------------------------------------
|
||||
bbb
|
||||
--------------------------------------------------------------------
|
||||
UNSET mysqld2 . aaa , mysqld2 . bbb ;
|
||||
--------------------------------------------------------------------
|
||||
server_id = 1
|
||||
server_id=222
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
--------------------------------------------------------------------
|
||||
server_id = 1
|
||||
server_id=222
|
||||
--------------------------------------------------------------------
|
||||
SHOW VARIABLES LIKE 'server_id';
|
||||
Variable_name Value
|
||||
server_id 1
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 online
|
||||
mysqld2 offline
|
||||
FLUSH INSTANCES;
|
||||
ERROR HY000: At least one instance is active. Stop all instances first
|
||||
STOP INSTANCE mysqld1;
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 offline
|
||||
mysqld2 offline
|
||||
FLUSH INSTANCES;
|
96
mysql-test/suite/im/r/im_utils.result
Normal file
96
mysql-test/suite/im/r/im_utils.result
Normal file
@@ -0,0 +1,96 @@
|
||||
SHOW VARIABLES LIKE 'server_id';
|
||||
Variable_name Value
|
||||
server_id 1
|
||||
SHOW INSTANCES;
|
||||
instance_name state
|
||||
mysqld1 XXXXX
|
||||
mysqld2 offline
|
||||
SHOW INSTANCE OPTIONS mysqld1;
|
||||
option_name value
|
||||
instance_name VALUE
|
||||
socket VALUE
|
||||
pid-file VALUE
|
||||
port VALUE
|
||||
datadir VALUE
|
||||
log VALUE
|
||||
log-error VALUE
|
||||
log-slow-queries VALUE
|
||||
language VALUE
|
||||
character-sets-dir VALUE
|
||||
basedir VALUE
|
||||
server_id VALUE
|
||||
shutdown-delay VALUE
|
||||
skip-stack-trace VALUE
|
||||
loose-skip-innodb VALUE
|
||||
loose-skip-ndbcluster VALUE
|
||||
log-output VALUE
|
||||
SHOW INSTANCE OPTIONS mysqld2;
|
||||
option_name value
|
||||
instance_name VALUE
|
||||
socket VALUE
|
||||
pid-file VALUE
|
||||
port VALUE
|
||||
datadir VALUE
|
||||
log VALUE
|
||||
log-error VALUE
|
||||
log-slow-queries VALUE
|
||||
language VALUE
|
||||
character-sets-dir VALUE
|
||||
basedir VALUE
|
||||
server_id VALUE
|
||||
shutdown-delay VALUE
|
||||
skip-stack-trace VALUE
|
||||
loose-skip-innodb VALUE
|
||||
loose-skip-ndbcluster VALUE
|
||||
nonguarded VALUE
|
||||
log-output VALUE
|
||||
START INSTANCE mysqld2;
|
||||
Success: the process has been started.
|
||||
STOP INSTANCE mysqld2;
|
||||
Success: the process has been stopped.
|
||||
SHOW mysqld1 LOG FILES;
|
||||
Logfile Path File size
|
||||
ERROR LOG PATH FILE_SIZE
|
||||
GENERAL LOG PATH FILE_SIZE
|
||||
SLOW LOG PATH FILE_SIZE
|
||||
SHOW mysqld2 LOG FILES;
|
||||
Logfile Path File size
|
||||
ERROR LOG PATH FILE_SIZE
|
||||
GENERAL LOG PATH FILE_SIZE
|
||||
SLOW LOG PATH FILE_SIZE
|
||||
SHOW mysqld1 LOG ERROR 10;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld1 LOG SLOW 10;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld1 LOG GENERAL 10;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld1 LOG ERROR 10, 2;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld1 LOG SLOW 10, 2;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld1 LOG GENERAL 10, 2;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld2 LOG ERROR 10;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld2 LOG SLOW 10;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld2 LOG GENERAL 10;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld2 LOG ERROR 10, 2;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld2 LOG SLOW 10, 2;
|
||||
Log
|
||||
LOG_DATA
|
||||
SHOW mysqld2 LOG GENERAL 10, 2;
|
||||
Log
|
||||
LOG_DATA
|
Reference in New Issue
Block a user