Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mysql error log SSH question

Discussion in 'General Discussion' started by simplyjesse, Feb 24, 2014.

  1. simplyjesse

    simplyjesse Member

    Feb 24, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    I can't seem to get the correct command in SSH to get the mysql error log can you tell me what in this command is incorrect. Keep in mind the ip is made up for privacy:

    I am putting this into SSH (even tried cd/ before and cd/home/ before with no avail)

    /var/lib/mysql/[email protected]

    Much Appreciated
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    You have to view a file with a command such as "cat" or "tail". EX:

    tail -f /var/lib/mysql/hostname.err
    Replace "hostname" with the hostname of the server. Note that I highly suggest researching how to use Linux from the command line due to what appears to be limited knowledge in that area. There is potential to remove files or cause serious filesystem problems if you use a command incorrectly.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice