Error establishing a database connection

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?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi, Praveen.

indeed. Thanks so much!

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.