Report this

What is the reason for this report?

Error establishing a database connection - recurring (Ubuntu)

Posted on November 24, 2013

After a reboot of the droplet, all works fine for a while. I’m in the 512 MB memory plan. I have 2 WP sites installed. A backup plugin is installed but running weekly.

In addition, when I get the error, and check on the status of mysql I get this: mysql stop/waiting



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.

The logs are empty as far as I can see.

I too have the same problem, now my wordpress site is down and I don’t know how to access it again, just so I could backup my posts…I really need them all, including a complete mySQL backup…but both “/var/log/mysql.err” and “/var/log/mysql.log” are empty. how to I regain access to my site?

OK, i SSH to my droplet and ran the command: service mysql restart <br>

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.