WordPress Error establishing a database connection For Admin login only

I’ve found the issue but don’t know why it was giving me the error establishing a database connection.

But it’s fixed by changing entries in three tables what happened was that moved WordPress to new server with different domain and there were instances of the old domain.

Thank you!

Leave a Comment