Changed Database password and can't access website

I didn’t realize what I was doing until it was too late! And now I have no idea how to change the password so that my website’s database connection can be restored. Help!

Changing the password to a database takes at least 2 changes. Generally you need to change the password to enter the database which is done in the dreamhost panel. Second place is usually in your web applications (wordpress, joomla, concrete5, etc) config.php file. This must be the same password that you set in the panel, because this is how the application accesses the database.