]> git.pld-linux.org Git - packages/mysql.git/blame - mysql.logrotate
- removed obsolete nptl patch
[packages/mysql.git] / mysql.logrotate
CommitLineData
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
7a0e0e17
ER
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
1001fa3e 13/var/log/mysql/log /var/log/mysql/isamlog.log /var/log/mysql/update* {
d5d7b2f1 14 olddir /var/log/archiv/mysql
7a0e0e17 15 notifempty
ea57d024 16 create 640 mysql mysql
0c4232c2 17 sharedscripts
aecc7924 18 postrotate
0c4232c2 19 /etc/rc.d/init.d/mysql flush-logs
aecc7924 20 endscript
21}
This page took 0.033152 seconds and 4 git commands to generate.