Question

"Error establishing a database connection" after a traffic spike on my Wordpress website

Posted March 22, 2017 2.1k views
WordPressUbuntu 16.04

I currently use a 5$ Droplet to host a Wordpress website, today about 20 people loaded in to my in about a minute, and the server crashed. What can I do to prevent this from happening again?

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.

×
1 answer

@fixwaveub
You’re running out of RAM, so you need to upgrade your droplet. A $10 plan should suffice, but it all depends on the setup of the server and how many plugins/themes you’re running.

Submit an Answer