The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

No idea where SQL logs are

Discussion in 'Database Discussions' started by BlackEarth91, Jan 13, 2015.

  1. BlackEarth91

    BlackEarth91 Registered

    Joined:
    Jan 13, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello guys, I've a website based on wordpress that has been created only 2 weeks ago. Unfortunately, the SQL server tends to restart automatically every hour.

    Hoping to diagnose the issue, i went ahead looking in /etc/ where the SQL error log files are supposed to be, however the etc folder is empty; furthermore, the my.cnf file is also missing.

    Please assist me on this issue.
     
  2. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    Logs are in /var/lib/mysql and error log is named as <hostname>.err
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page