MySQL Shuts down for 10 for some reason

EchoHost

Well-Known Member
Jul 27, 2003
52
0
156
I dont know why it does it sometimes.. maybe once a week or once a month but it just does do it. Is there a MySQL error log i can find?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
The MySQL error log is normally in /var/lib/mysql/hostname.err and daemon errors usually show in /var/log/messages
 

slmsoft

Member
Aug 8, 2005
16
0
151
there's no information in /var/lib/mysql/hostname.err, do you I have to enable logging ?
 

Blue|Fusion

Well-Known Member
Sep 12, 2004
377
0
166
Cleveland, Ohio
chirpy said:
The MySQL error log is normally in /var/lib/mysql/hostname.err and daemon errors usually show in /var/log/messages
I do believe daemon errors are logged in /var/log/mysqld.log, atleast on all the systems I've worked with have.
 

PanelGuy

Well-Known Member
Oct 13, 2004
106
0
166
MySQL Error Log

I didn't find any of those in any of those places. Besides the messages log of course.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Blue|Fusion said:
I do believe daemon errors are logged in /var/log/mysqld.log, atleast on all the systems I've worked with have.
Maybe it's a version thing. All the servers I've worked on that I recall may have been v4 and they all definitely log to /var/lib/mysql/whateveryourhostnameis.err by default unless otherwise configured in /etc/my.cnf