Bug #56939 mysql-log-rotate has outdated command/option names
Submitted: 22 Sep 2010 15:17 Modified: 22 Sep 2010 17:28
Reporter: Paul Dubois Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.1+ OS:Any
Assigned to: CPU Architecture:Any
Triage: Triaged: D4 (Minor) / R2 (Low) / E2 (Low)

[22 Sep 2010 15:17] Paul Dubois
Description:
The support-files/mysql-log-rotate.sh script contains outdated references:

# This logname can be set in /etc/my.cnf
# by setting the variable "err-log"
# in the [safe_mysqld] section as follows:
#
# [safe_mysqld]
# err-log=@localstatedir@/mysqld.log

This is outdated because:

1) safe_mysqld is now mysqld_safe
2) --err-log is now --log-error

How to repeat:
By inspection.

Suggested fix:
Update the script with the current command and option names. Should be trivial, I think it affects only the comments.
[22 Sep 2010 17:28] Miguel Solorzano
Thank you for the bug report.