Bug #70184 Old advices in mysql-log-rotate script
Submitted: 29 Aug 2013 14:01 Modified: 16 Oct 2013 14:40
Reporter: Honza Horak (OCA) Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Logging Severity:S3 (Non-critical)
Version:5.5.33 OS:Linux
Assigned to: CPU Architecture:Any

[29 Aug 2013 14:01] Honza Horak
Description:
This is really a minor fix, just making mysql-5.5.33/support-files/mysql-log-rotate.sh better. The following patch seems to be self-explanatory.

How to repeat:
see mysql-5.5.33/support-files/mysql-log-rotate.sh

Suggested fix:
diff -up mysql-5.5.33/support-files/mysql-log-rotate.sh.errlog mysql-5.5.33/support-files/mysql-log-rotate.sh
--- mysql-5.5.33/support-files/mysql-log-rotate.sh.errlog     2013-08-29 14:35:34.839119044 +0200
+++ mysql-5.5.33/support-files/mysql-log-rotate.sh    2013-08-29 14:36:24.532088426 +0200
@@ -1,9 +1,9 @@
 # This logname can be set in /etc/my.cnf
-# by setting the variable "err-log"
-# in the [safe_mysqld] section as follows:
+# by setting the variable "log-error"
+# in the [mysqld_safe] section as follows:
 #
-# [safe_mysqld]
-# err-log=@localstatedir@/mysqld.log
+# [mysqld_safe]
+# log-error=@localstatedir@/mysqld.log
 #
 # If the root user has a password you have to create a
 # /root/.my.cnf configuration file with the following
[29 Aug 2013 14:31] MySQL Verification Team
Thank you for the bug report.
[16 Oct 2013 14:40] Jon Olav Hauglid
This was fixed in 5.6.3 by the patch for Bug#61038