MySQL sometimes goes down and doesn't restart
-
- Posts: 7
- Joined: Tue Jul 18, 2017 1:39 am
- Contact:
- Os: Debian 7x
- Web: apache + nginx
MySQL sometimes goes down and doesn't restart
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
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
Check error logs and find a reason, why this happen.
Monit