]> git.pld-linux.org Git - packages/mysql.git/blobdiff - mysql.logrotate
- fix mysql 4.1.1 migration trigger where one has leading space in cluster definition
[packages/mysql.git] / mysql.logrotate
index 9bd4d19c7d7ad164293e7ed845546274b80793aa..988c60d22450da71e1981856d142e7b53d2bff49 100644 (file)
@@ -1,6 +1,18 @@
-/var/log/mysql/err /var/log/mysql/log /var/log/mysql/isamlog.log /var/log/mysql/update* {
+# If the *mysql* root user has a password you have to set it in mysqld.conf
+#
+# [mysqladmin]
+# user = mysql_logrotate
+# password = <secret> 
+#
+# where "<secret>" is the password. 
+#
+# You must do this for every cluster defined in /etc/mysql/clusters.conf
+#
+# ATTENTION: The mysqld.conf should be readable ONLY for *system* root!
+
+/var/log/mysql/log /var/log/mysql/isamlog.log /var/log/mysql/update* {
        olddir /var/log/archiv/mysql
-        notifempty
+       notifempty
        create 640 mysql mysql
        sharedscripts
        postrotate
This page took 0.02575 seconds and 4 git commands to generate.