Report this

What is the reason for this report?

Wordpress database error (again and again)

Posted on April 20, 2014

I used quick wordpress install (Application > Wordpress on Ubuntu 13.10) Then I used Wp Super cache plugin for caching. When I get huge traffic I got “database error”. Then I researched and found swapping. (https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04) After swapped, everything was fine but today, when I get more traffic again I got “database error” again. I dont know what will I need to do. Can anyone help me?



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!

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.

How big is your droplet? 512MB is usually not enough for a moderately active site running Apache (which is what the 1-click image uses). <br> <br>You can either upgrade your droplet, or dump Apache in favor of nginx: <a href=“https://www.digitalocean.com/community/articles/how-to-install-wordpress-nginx-php-and-varnish-on-ubuntu-12-04”>How To Install Wordpress, Nginx, PHP, and Varnish on Ubuntu 12.04</a>.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.