Skip to main content

Purpose of /scripts/enable_sqloptimizer?

Comments

1 comment

  • cPanelMichael
    Hello @Valetia, This will activate slow query logging for MySQL with the addition of the following entries in the system's /etc/my.cnf file (the entries may look different, depending on the version of MySQL installed on your system):
    slow-query-log=1 long-query-time=1
    You can remove the entries with the following script:
    /scripts/disable_sqloptimizer
    Thanks!
    0

Please sign in to leave a comment.