Skip to content

Commit

Permalink
Update my.cnf (#1853)
Browse files Browse the repository at this point in the history
解决数据库无法启动问题
  • Loading branch information
0ck0 authored Sep 25, 2022
1 parent 4eec758 commit ecc0bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docker-compose/mysql/my.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ default-time_zone = '+8:00'
innodb_buffer_pool_size = 512M

server-id = 100
log_bin = /var/log/mysql/mysql-bin.log
log_bin = /var/lib/mysql/mysql-bin.log
expire_logs_days = 1
max_binlog_size = 500M
max_allowed_packet = 1024M

character-set-server = utf8mb4
collation-server = utf8mb4_general_ci

slow_query_log_file = mysql-slow.log
slow_query_log_file = /var/lib/mysql/mysql-slow.log
slow_query_log = 1
long_query_time = 1

Expand Down

0 comments on commit ecc0bc7

Please sign in to comment.