Mysql - Error establishing a database connection



I have a number of wordpress sites and one custom site with an SQL database and this morning I started to get the following error when I went to any of them. None of the sites have been changed

Error establishing a database connection

I can go to and it asks for login credentials which i can put in (taken from the wordpress config file) except it gives me a 500 internal server error

Any ideas?


If I understand correctly your sites worked fine until this morning.

Most likely it’s then a problem with the server that hosts your databases. If it stays down too long, you should file a support ticket.