MySQL 5.1 exit code documentation?
Can someone point me at the docs for the termination codes for MySQL 5.1?
I have开发者_如何学C a MySQL 5.1.41 installation on an Ubuntu server that seems to be crashing about every 90 seconds with the following message in syslog:
init: mysql main precess terminated with status 2
init: mysql main process ended, respawning
Googling for MySQL and "termination code", "termination status", "exit code", or "exit status" yields nothing useful. Apparently MySQL docs call this something different than what init is reporting.
Anyone have a guess?
You'll want to look at the
/var/log/mysql.err
file for more information on why it's crashing. Replace machinename with the hostname of your computer.
UPDATE: I changed the .err file path. It should be correct now. It's based on information found here. It seems to correspond with a file on my Ubuntu installation. Although on my machine, the file is empty.
精彩评论