WordPress Database Error - Site Getting Down

July 8, 2014 1.5k views

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.

1 Answer


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

cat /var/log/mysqld.log
Have another answer? Share your knowledge.