I'm having trouble with the my.cnf file for MySQL. I cannot seem to get the slow query log to work.
MySQL version 5.1.52, CentOS. I've tried using the WebMIN inteface to make the changes but it does work. After making the changes and restarting the changes revert to OFF for some statements.
So went to the CNF file. This file path /etc/my.cnf. It seems to read this file on startup because it enforces the timeout values.
It creates the error log file specifed in the attached copy of the cnf,
log-error=/var/log/mysql_errors.log. But it does not create the slow query log. Does anyone have the log section form a successful my.cnf?