]>
Commit | Line | Data |
---|---|---|
7a0e0e17 ER |
1 | # If the *mysql* root user has a password you have to set it in mysqld.conf |
2 | # | |
3 | # [mysqladmin] | |
e0cc68c0 | 4 | # user = mysql_logrotate |
4fa89cc7 | 5 | # password = <secret> |
7a0e0e17 | 6 | # |
4fa89cc7 | 7 | # where "<secret>" is the password. |
7a0e0e17 ER |
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 | ||
f0d55a6c ER |
13 | /var/log/mysql/log |
14 | /var/log/mysql/mysql.err | |
8aaa982b | 15 | /var/log/mysql/slow |
f0d55a6c ER |
16 | /var/log/mysql/update* |
17 | { | |
5087696e | 18 | olddir /var/log/archive/mysql |
7a0e0e17 | 19 | notifempty |
613e8547 | 20 | missingok |
ea57d024 | 21 | create 640 mysql mysql |
0c4232c2 | 22 | sharedscripts |
aecc7924 | 23 | postrotate |
82225fb1 | 24 | /sbin/service mysql flush-logs |
aecc7924 | 25 | endscript |
26 | } |