Report this

What is the reason for this report?

Wordpress database keeps losing connecting since moving to London Host

Posted on July 21, 2014

Hi all,

Since taking a snapshot and moving to the new London host via the guide my website keeps losing connection to the wordpress database. A quick restart of the server fixes this,

Any ideas? I’ve had to move it back to Amsterdam for now.

James



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!

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’m having the same problem. I asked my son who is a server expert and he checked the apache logs and mysql logs and said “The problem seems like it is mysql consuming more and more memory over time and crashing, and there’s a couple options that might cause this. The most likely one is that there is a bad Wordpress plugin installed so plugins should be updated and if that doesn’t fix it then I should start searching on google for problems with the ones I am using.”

What size is the droplet? It sounds like you’re running out of memory which causes MySQL to crash.

I’m not sure.

It just comes up saying “Error connecting to database”

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.