[opensuse] mysql and logrotate



Hi All,

Referencing these:

https://bugzilla.novell.com/show_bug.cgi?id=763150

http://lists.opensuse.org/opensuse/2012-05/msg00694.html

Finally got around to this here and noticed the following:

~ #> cat /etc/logrotate.d/mysql

# 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=/var/log/mysqld.log
- - - - - 8< snip >8 - - - - -

~ #> cat /etc/my.cnf

- - - - - 8< snip >8 - - - - -
# The safe_mysqld script
[safe_mysqld]
log-error = /var/log/mysql/mysqld.log
socket = /var/run/mysql/mysql.sock
- - - - - 8< snip >8 - - - - -

Is the problem a transposition of the variable 'err-log' in /etc/my.cnf
with the the mysql flag '--log-error'?

regards,

Carl
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx