Skip to main content

Mysql issues after Upgrade to 5.6 to allow CPanel

Comments

6 comments

  • triantech
    Hey, Looking at your my.cnf file, this line looks a bit weird slow_query_log_file Try commenting the line or specify the log_file path. If the above doesn't fix, please paste the o/p of : # tail -10 /var/lib/mysql/yourhostname.err ( <- replace with your hostname )
    0
  • squadx
    Life saver my brother...that commenting out seems to fix the issue. So I am aware why that may fixed...is that just an outdated or incorrect command? As soon as I commented it out, mysql started fine. (I did have to rebuild apache/php due to 500 Internal Server) But all is good now.
    0
  • triantech
    Hey, Looks like the path to the log file has not come through to the configuration after the upgrade. It is neither an outdated or incorrect command. Its just incomplete :) Adding a path to the line as follows will also fix the issue ( as you have enabled slow_query_log ) : slow_query_log_file=/path-to-the-log-file. Hope it might help.
    0
  • squadx
    Ahh makes sense. Thanks again!
    0
  • triantech
    Most welcome :)
    0
  • cPanelMichael
    Hello :) I am happy to see the issue has been addressed. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.