Give this and see what response you get
$connect = mysql_connect("localhost","<myusername>","<mypassword>") or die(mysql_error());
The error statement with this is usually more descriptive and can point you in the right direction.
The error message you are getting now suggests a connection problem....
I could be wrong !!