From d9e41aaa6d57818f1d6241359232106d51cb2931 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 2 Aug 2022 18:00:21 +0800 Subject: [PATCH] Update my.cnf --- plugins/mysql/conf/my.cnf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/mysql/conf/my.cnf b/plugins/mysql/conf/my.cnf index 6f1f1e278..2df4d69da 100644 --- a/plugins/mysql/conf/my.cnf +++ b/plugins/mysql/conf/my.cnf @@ -31,22 +31,22 @@ max_connections = 500 max_connect_errors = 100 open_files_limit = 65535 -skip_name_resolve = 1 +skip-grant-tables #skip-networking #skip-external-locking #loose-skip-innodb -#skip-grant-tables skip-ssl - log-bin=mysql-bin binlog_format=mixed server-id = 1 -expire_logs_days = 10 slow_query_log=1 slow-query-log-file={$SERVER_APP_PATH}/data/mysql-slow.log -long_query_time=3 -#log_queries_not_using_indexes=on +long_query_time=10 +log_queries_not_using_indexes=on +log_slow_admin_statements=1 +log_slow_slave_statements=1 +expire_logs_days=30 relay-log=mdserver relay-log-index=mdserver