Question

Error establishing a database connection

  • Posted August 27, 2013

Dear,

I just install droplet for Wordpress (follow: https://www.digitalocean.com/community/articles/one-click-install-wordpress-on-ubuntu-12-10-with-digitalocean)

Then add more site to the droplet (follow: https://www.digitalocean.com/community/articles/how-to-set-up-multiple-wordpress-sites-on-a-single-ubuntu-vps)

Everything work well when I go to bed last night. But, this morning, I got “Error establishing a database connection” for all of sites.

I don’t know why, but I try Power Cycle the droplet, and everything go well. I think that’s all, but this evening, I met that problem again.

Hope you can help me. My main site is: http://bloggeritems.com/

Best regards, Tien Nguyen

Subscribe
Share

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.

i’ve solve the same problem with ( Not Enough RAM ) by added Swap, tune SQL, Apache … <br> <br>Read this post for more detail : <br> <br>http://digitaloceanvps.blogspot.com/2014/04/best-configuration-for-512mb-1gb-ram.html

Hi Kamal Nasser. So sorry but because the site is very important, so I can not wait. Hope you forgive that. <br> <br>Thank you very much, and we will continue discussing on the link you shared. <br> <br>Best Regards, <br>Tien

Please stop duplicating your questions. This is the 3rd time you’ve posted the same question. I replied to your first comment on <br> <br>https://www.digitalocean.com/community/articles/how-to-install-wordpress-with-nginx-on-ubuntu-12-04