Error establishing a database connection

Having this message come up when I’m trying to go to my wordpress website. wondering if someone could help get this fixed?

If you want supports assistance you need to open a ticket via the panel.

This is normally caused when the password for the database is changed in one place but not the other, but this can be caused for other less likely reasons as well. If you recently changed the password to the database in the dreamhost panel, it must also be changed in wp-config.php and vice versa.

I see you were able to get help from our LiveChat team! If you need help with editing your wp-config.php file in the future, this can help:

check your wp-config.php file. make sure that you’re entering correct database details.