]>
Commit | Line | Data |
---|---|---|
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/isamlog.log /var/log/mysql/update* { | |
14 | olddir /var/log/archiv/mysql | |
15 | notifempty | |
16 | create 640 mysql mysql | |
17 | sharedscripts | |
18 | postrotate | |
19 | /etc/rc.d/init.d/mysql flush-logs | |
20 | endscript | |
21 | } |