Find these in the DreamHost panel under Websites › MySQL Databases. The password is saved in a private file outside the website folder.