Question

Why does my WordPress site sometimes go down and say "Error Establishing Connection?"

Sometimes, my WordPress site goes down (usually brought to my attention by someone visiting my site) and I have to reboot the droplet via “sudo shutdown -r now”

Why is this happening? What can I do to prevent this?

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.

Ok.

If the website is working fine, then you don’t have to touch it again.

Sorry I am also not having that much experience on these things “Cannot allocate memory for the buffer pool”.

I have also faced this issue many times in my client’s websites “Error establishing a database connection”.

So I came to fix this issue following those instructions. That’s what I can help you to fix that issue.

Still, you’re having any doubts you can send the tickets to support team.

Thanks :)

Ok, then you can increase your memory size.

The size will be based on your usage.

So, for now, you can increase it to 2GB. Then restart via putty. Check if it is working or not.

Yes, you just upgrade CPU and RAM only.

This comment has been deleted

Hi,

Please follow these steps to get rid of this issue “Error establishing a database connection”

https://www.digitalocean.com/community/tutorials/how-to-debug-the-wordpress-error-establishing-database-connection