Skip to main content

Correct Syntax (slow_query_log)

Comments

1 comment

  • cPanelMichael
    Hello :) You can utilize the following entries in your /etc/my.cnf file: slow-query-log=1 slow-query-log-file="/var/log/mysql-slow-queries.log"
    Ensure you create the "/var/log/mysql-slow-queries.log" file and it's owned by the "mysql" user. Thank you.
    0

Please sign in to leave a comment.