Tom,
Thursday, May 16, 2002, 4:30:50 AM, you wrote:
TB> I am trying to turn off the query log in mysql on redhat linux. It generates
TB> huge log files
TB> (in /var/lib/mysql/hostname.log) that I dont need, and impacts performance.
TB> safe_mysqld was run with --log, and it seems like I want to turn that off
TB> but I cant find
TB> any script or config file where the --log was specified, perhaps it was
TB> compiled in?
TB> I only have a binary distribution of mysql. Is there some way to override
TB> the --log?
TB> I have looked at section 4.9 of the mysql doc, and
TB> /etc/my.cnf (see below) and these scripts
TB> /etc/rc.d/rc[0-6].d/K12mysqld
TB> /etc/rc.d/init.d/mysqld
TB> /usr/share/mysql/mysql.server
TB> Does anyone know which of these scripts is really the one that starts
TB> safe_mysql?
TB> (note that the err-log setting in my.cnf refers to an error log (empty on my
TB> machine) not
TB> the query log that I am trying to get rid of.
Take down MySQL server and run it without --log option:
safe_mysqld &
TB> Please reply directly and to the list
TB> -thanks Tom
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php