Report this

What is the reason for this report?

Error establishing a database connection

Posted on December 19, 2018

Hi, friends

Recently i got a notification from Youtube in which they said my API would be deactivated. I did not know what to do with this information and the day came when it was deactivated. My site now is giving the message Error establishing a database connection.

I am with the step by step orientation to debug the issue, but i am suspecting the reason it happened is the one issue with youtube.

If it is indeed this reason – i don’t believe it ran out of memory or something the like – i should be able to turn off those plugins related to youtube and the site will come back.

Would be so kind to help me solve this problem?



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.

could be mysql running out of memory, i fixed restarting mysql. systemctl start mysql

Hello. Did you try rebooting the droplet? Mostly, this does fix the issue.

Hope this helps. Praveen.

Hi, Praveen.

indeed. Thanks so much!

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.