I am dabbling in php and I'm far from a pro. This simple database connect is baffling me and it should simply just work.
This is the error I get. Can anyone suggest what I can do to fix this?
Warning: mysql_connect(): Access denied for user 'therez_db'@'localhost' (using password: YES) in /home2/therez/public_html/rez/includes/mysql.class.php on line 128 Database error 0: linkID == False. Connect failed. Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home2/rez/public_html/therez/includes/mysql.class.php on line 131 Database error 0: Cannot use database 'therez_db'.
The username and password are both valid!
Thank you in advance!
James