Page 1 of 1

MySQL sometimes goes down and doesn't restart

Posted: Mon Feb 19, 2018 12:43 am
by YellowJuice
Hello,

I found that I have this little issue that my MySQL server in VestaCP sometimes goes down and doesn't restart, so the hosted websites are basically offline as they cannot establish a connection to the databases. At similar time apache2 has restarted so presumably that time MySQL went down. Is there any way to prevent this from happening? Or a way to make MySQL to restart if not running?

Best regards

Re: MySQL sometimes goes down and doesn't restart

Posted: Mon Feb 19, 2018 6:09 am
by skurudo
YellowJuice wrote:
Mon Feb 19, 2018 12:43 am
Is there any way to prevent this from happening?
Check error logs and find a reason, why this happen.
YellowJuice wrote:
Mon Feb 19, 2018 12:43 am
Or a way to make MySQL to restart if not running?
Monit