Question

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?

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.

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.