Skip to content

Commit

Permalink
Optimize my.cnf configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbin authored Aug 27, 2024
1 parent 1307fd6 commit 092ba63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/mysql/conf/my.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 092ba63

Please sign in to comment.