Database access problem

hi , i just installed a simple database with no problem but the config file has this problem

$this->link = mysql_connect($hostname, $username, $password);

i keep getting error on the last line. i think its wrong lol

do you konw what it should be for dreamhost?


What’s the error message?

Are you using “localhost” as the location? If so, that’s the problem, localhost doesn’t work on Dreamhost. You need to go the the MySQL area and get the location and use that instead of localhost.