]> git.pld-linux.org Git - packages/mysql.git/blob - mysql.logrotate
logrotate error.err log file, too
[packages/mysql.git] / mysql.logrotate
1 # If the *mysql* root user has a password you have to set it in mysqld.conf
2 #
3 # [mysqladmin]
4 # user = mysql_logrotate
5 # password = <secret>
6 #
7 # where "<secret>" is the password.
8 #
9 # You must do this for every cluster defined in /etc/mysql/clusters.conf
10 #
11 # ATTENTION: The mysqld.conf should be readable ONLY for *system* root!
12
13 /var/log/mysql/log /var/log/mysql/error* /var/log/mysql/update* {
14         olddir /var/log/archiv/mysql
15         notifempty
16         missingok
17         create 640 mysql mysql
18         sharedscripts
19         postrotate
20                 /sbin/service mysql flush-logs
21         endscript
22 }
This page took 0.036023 seconds and 4 git commands to generate.