To enable slow query log, it is have to add one line into my.cnf. I have MySQL installation on a Centos server. It is MySQL 5.0.22 i686. Let’s go through the details of setting of it. Open my.cnf which is located at /etc/ add following under mysqld section. log-slow-queries =Continue Reading