Slow Query log

  MySQL

Add to my.cnf


# slow_query_log=1 to your config file.
# slow_query_log_file=/var/log/mysqld.slow.log