if we enable binary logs, we should also enable max days for them
This commit is contained in:
parent
b1a03a5f1b
commit
f0ade619a0
2 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
[mysqld]
|
||||
datadir=/var/lib/mysql/data
|
||||
log-bin=/var/lib/mysql/mysql-bin
|
||||
expire_logs_days=5
|
||||
socket=/var/lib/mysql/mysql.sock
|
||||
# Default to using old password format for compatibility with mysql 3.x
|
||||
# clients (those using the mysqlclient10 compatibility package).
|
||||
|
|
|
@ -53,6 +53,7 @@ log-error = /var/log/mysql/mysqld.err
|
|||
basedir = /usr
|
||||
datadir = /var/lib/mysql
|
||||
log-bin = /var/lib/mysql
|
||||
expire_logs_days = 5
|
||||
skip-locking
|
||||
key_buffer = 16M
|
||||
max_allowed_packet = 1M
|
||||
|
|
Loading…
Reference in a new issue