Default mysql log file location

durangod

Well-Known Member
May 12, 2012
504
46
78
cPanel Access Level
Website Owner
I am surprised to see that there is no default mysql log file for a UI based software. You still have to go into the config file via shell and make the file and then go into mysql command mode and set it to on in order for it to load at default. Should'nt this all be done within the UI?

I wonder how many other log files i will have to manually create to see errors.
 

durangod

Well-Known Member
May 12, 2012
504
46
78
cPanel Access Level
Website Owner
nevermind i found it...

/var/lib/mysql/HOSTNAME.err


Well thats why because its in the wrong place, its suppose to be in /var/logs thats what its for, so i guess they just stick it any place they want willy nilly and dont even follow the linux structure lol...