Question

Wordpress database error (again and again)

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?

Show comments

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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>.