]> git.pld-linux.org Git - packages/mysql.git/blob - mysql.logrotate
- logrotate slow, 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/err*
14 /var/log/mysql/log
15 /var/log/mysql/mysql.err
16 /var/log/mysql/slow
17 /var/log/mysql/update*
18 {
19         olddir /var/log/archive/mysql
20         notifempty
21         missingok
22         create 640 mysql mysql
23         sharedscripts
24         postrotate
25                 /sbin/service mysql flush-logs
26         endscript
27 }
This page took 0.062213 seconds and 4 git commands to generate.