[opensuse] mysql and logrotate
- From: Carl Hartung <opensuse@xxxxxxxxxxxxx>
- Date: Fri, 6 Jul 2012 05:27:35 -0400
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
- Follow-Ups:
- Re: [opensuse] mysql and logrotate
- From: Carl Hartung
- Re: [opensuse] mysql and logrotate
- Prev by Date: [opensuse] oS12.1 starts only in failsafe mode
- Next by Date: Re: [opensuse] Need help: I found out where s2disk crashes.
- Previous by thread: [opensuse] oS12.1 starts only in failsafe mode
- Next by thread: Re: [opensuse] mysql and logrotate
- Index(es):