Question

Wordpress database error (again and again)

  • Posted 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?

Subscribe
Share

also im getting this error everday its being like a 5 6 hours trying again.i didnt find any solution but i found a think.thats swap.please look here. https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-12-04


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