Skip to main content

Showing slow logs

Comments

3 comments

  • cPanelMichael
    Hello :) I believe you should use the following syntax in MySQL 5.6: slow_query_log=1 slow_query_log_file=file_name
    Reference: [url=http://dev.mysql.com/doc/refman/5.6/en/slow-query-log.html]MySQL :: MySQL 5.6 Reference Manual :: 5.2.5 The Slow Query Log Thank you.
    0
  • k2tec
    Thanks Michael, I will give it a try tomorrow.
    0
  • k2tec
    Michael This okay [QUOTE]slow_query_log=1 slow_query_log_file=file_name
    I put this also in my.cnf [QUOTE]long_query_time
    And if you want to see the queries without indexes, but this will fill your log file very fast [QUOTE]log_queries_not_using_indexes
    0

Please sign in to leave a comment.