if we enable binary logs, we should also enable max days for them

This commit is contained in:
mh 2008-07-29 22:23:29 +00:00
parent b1a03a5f1b
commit f0ade619a0
2 changed files with 2 additions and 0 deletions

View file

@ -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).

View file

@ -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