Error establishing a database connection without heavy load
Usually my droplet is using 25-30% of the memory, CPU. But sometimes it was increase nearly 100%. Im using a 4gb droplet
then it kill the database and led to Error establishing a database connection.
No increase in the site’s traffic.
Then I restarted the mysql server and it was good for a while, then the error repeated again.
What would be the problem? And how can i check the server log
im using wordpress, centos and im just a non-tech newbie.
Thanks for all your help.
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.