I have very often downs mysql for some reason.
I would like to learn how to make a script that would check does not fall if mysql is down - start it again.
service mysql start
Sorry for bad english!
|
|
install and use monit You can monitor the mysql process and if it is down monit can restart it for you.. a sample config might look like
|
|||
|
|