If this article does not resolve your issue, you can open a support ticket or visit https://codex.wordpress.org/Common_WordPress_Errors
The "Error establishing a database connection" message is usually caused by incorrect database credentials in
- Ensure that the database name, user, and password match correctly with the database you created in the control panel. If you recently changed the password of your database user, you need to update your WordPress configuration.
- If the issue persists, you can try to restart your database server by going to Server Settings > Overview and clicking on Restart MySQL.