mysql error log SSH question

simplyjesse

Member
Feb 24, 2014
7
0
1
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
You have to view a file with a command such as "cat" or "tail". EX:

Code:
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.