Mysql system optimization commonly used sql (8, binlog log)

Log in to mysql from the command line:
mysql -u root -p


View the format of the binlog log
show global variables like '%binlog_format%';

Get the binlog file list
mysql> show binary logs;

View the binlog file currently being written
mysql> show master status\G

View all binlog log list show master logs;

View log open status show variables like 'log_%';

おすすめ

転載: blog.csdn.net/u013558123/article/details/131257899