Wordpress Admin is not working and nor the PHPmyAdmin

Posted December 14, 2019 833 views
DigitalOcean Managed MySQL Database

Hello Team,

Website URL:
Admin URL:

My website’s admin panel is not working. It is showing wordpress database connection error:

When I try to access the database it says:

Can you please provide some insights that why it is not working? And what solution can be applied to access the database and admin panel of website successfully.

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.

Submit an Answer
1 answer


It looks like that your MySQL database was not running, but it seems OK at the moment.

Usually, if you see that error, I would suggest checking your MySQL service status:

  • sudo systemctl status mysql

If MySQL is not running you can start it with:

sudo systemctl start mysql

Hope that this helps. Let me know if you have any questions.