diff options
author | mh <mh@immerda.ch> | 2008-07-29 22:23:29 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-07-29 22:23:29 +0000 |
commit | f0ade619a070021109e64611a189dba1f8ac2edb (patch) | |
tree | 2dd3d4ed016a2b3a317c2c435773394529232d93 /files | |
parent | b1a03a5f1b3e483135f598491410e06451f240c9 (diff) |
if we enable binary logs, we should also enable max days for them
Diffstat (limited to 'files')
-rw-r--r-- | files/config/my.cnf.CentOS | 1 | ||||
-rw-r--r-- | files/config/my.cnf.Gentoo | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/files/config/my.cnf.CentOS b/files/config/my.cnf.CentOS index 2bc6884..ba06d59 100644 --- a/files/config/my.cnf.CentOS +++ b/files/config/my.cnf.CentOS @@ -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). diff --git a/files/config/my.cnf.Gentoo b/files/config/my.cnf.Gentoo index 63ce645..d6f8509 100644 --- a/files/config/my.cnf.Gentoo +++ b/files/config/my.cnf.Gentoo @@ -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 |