WordPress Database Error - Site Getting Down

Having a Wordpress website on Digital ocean server with : 2GB Ram , 30GB SSD, CentOS 6.5 x64

But as site get 10000 visits in a day or 120+ visitors at a time …it gets down with message Error in establishing database connection.

I am using W3 Total cache plugin. What configuration is best for 10,000 visits in a day.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.


Are you seeing any messages in your MySql logs? Run:

cat /var/log/mysqld.log