]> git.pld-linux.org Git - packages/mysql.git/blob - mysql.logrotate
- x86_64 build fail
[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/update*
17 {
18         olddir /var/log/archive/mysql
19         notifempty
20         missingok
21         create 640 mysql mysql
22         sharedscripts
23         postrotate
24                 /sbin/service mysql flush-logs
25         endscript
26 }
This page took 0.129109 seconds and 3 git commands to generate.