I have had to restart my mysql sever several times. My websites fail to load when the mysql server stops
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello, @jbEel
You can examine the MySQL error_log file in order to track down any errors as well. You can check the exact location of the MySQL error log with these commands:
On Ubuntu droplet:
The usual output will be:
For CentOS droplets
The usual output will be
You can then check the last 100 rows (or more if needed) logged in the error_log
You can look for any errors like:
Hope this helps!
Regards, Alex
Hi, @jbEel To fully understand your issue with MySQL, I need to know some things first, in order to give a better and more accurate answer: