mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
3017b77987
instead of current --old-log-format and --both-log-formats options mysql-test/mysql-test-run.pl: use new option instead of the old one for testing mysql-test/r/im_utils.result: correct result file sql/log.cc: use log event handler flags instead of enum_printer sql/log.h: Add log event handler flags to simplify log option processing
93 lines
1.6 KiB
Text
93 lines
1.6 KiB
Text
SHOW INSTANCES;
|
|
instance_name status
|
|
mysqld1 online
|
|
mysqld2 offline
|
|
SHOW INSTANCE OPTIONS mysqld1;
|
|
option_name value
|
|
instance_name VALUE
|
|
mysqld-path 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
|
|
skip-stack-trace VALUE
|
|
skip-innodb VALUE
|
|
skip-bdb VALUE
|
|
skip-ndbcluster VALUE
|
|
log-output VALUE
|
|
SHOW INSTANCE OPTIONS mysqld2;
|
|
option_name value
|
|
instance_name VALUE
|
|
mysqld-path VALUE
|
|
nonguarded 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
|
|
skip-stack-trace VALUE
|
|
skip-innodb VALUE
|
|
skip-bdb VALUE
|
|
skip-ndbcluster VALUE
|
|
log-output VALUE
|
|
START INSTANCE mysqld2;
|
|
STOP INSTANCE mysqld2;
|
|
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
|