Alternatively, if you are running cpanel and have chkservd configured appropriately, it will ping mysql every 5 minutes and attempt to restart it if it is not running.
If you have some kind of automated package manager installed and configured, such as yum for redhat, then every now and then a package will be updated that requires a mysql restart.
If it happens once a month or so then its probably nothing to worry about. If it's happening more frequently than that then your system has a problem, the diagnosis of which depends on the variables I mentioned above.
|