Brian Dunning wrote:
Before I do this, I just wanted to check with you all to see if this is the correct command:

/etc/rc.d/init.d/mysqld restart --log-slow-queries

If so, where exactly will I find the slow query log?
Will the slow query log be turned off by default next time I restart it?

That's not going to work. The init script only recognises restart, stop, start as valid parameters. Once it sees one of those commands that's it.

You could either hack the init.d/mysqld script or edit the my.cnf properly and set a log file:

log-slow-queries        = /path/to/log

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to