Error establishing a database connection

  • Posted August 27, 2013


I just install droplet for Wordpress (follow:

Then add more site to the droplet (follow:

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:

Best regards, Tien Nguyen


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>

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>