Error establishing a database connection

A good place to start is to enable debug mode in WordPress. That way, you can get the actual database error message, rather than “it’s not working but we won’t tell you why”.

Once you have the error, you can check it against this article to find a possible cause:

If you still need help, please share the full error message you found with the debug mode.

5 Likes