Try going to the panel and finding out your SQL server name. Click on Account Status in the upper right corner. The point your browser to DB.dreamhost.com, whatever that DB server name is.
If that doesn’t work, do you have any other sites hosted here? If you go to the panel for Manage MySQL, you can add a DB server name there, like db.otherdomain.com and try that.