Well, I'm assuming you then connect to MySQL via:
$link = mysql_connect($hostname_LorResident, $username_LorResident, $password_LorResident);
mysql_select_db($database_LorResident);
right? If that isn't working, I'd say you have to contact your host to figure out what your MySQL login credentials are.