From 092ba638ecfe80c92161c410f1254f0c1cd27033 Mon Sep 17 00:00:00 2001 From: bdbin <67597128+bdbin@users.noreply.github.com> Date: Tue, 27 Aug 2024 18:11:14 +0800 Subject: [PATCH] Optimize my.cnf configuration --- apps/mysql/conf/my.cnf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/mysql/conf/my.cnf b/apps/mysql/conf/my.cnf index 79aa4d4..169b99b 100755 --- a/apps/mysql/conf/my.cnf +++ b/apps/mysql/conf/my.cnf @@ -9,7 +9,7 @@ no-auto-rehash [mysqld] port = 3306 -default_authentication_plugin = mysql_native_password +# default_authentication_plugin = mysql_native_password pid-file = /var/log/mysql/mysql.pid user = mysql @@ -45,7 +45,7 @@ ft_min_word_len = 4 log_bin = mysql-bin binlog_format = ROW -expire_logs_days = 7 +# expire_logs_days = 7 binlog_expire_logs_seconds = 604800 log_error = /var/log/mysql/mysql-error.log @@ -93,4 +93,4 @@ max_allowed_packet = 500M key_buffer_size = 8M sort_buffer_size = 8M read_buffer = 4M -write_buffer = 4M +write_buffer = 4M \ No newline at end of file