Posted by:
CyberSpatium
(---.hsd1.or.comcast.net)
You are not connecting to MySQL correctly. The default MySQL root user does not have a password set, so to connect to MySQL set the password to null since no password is set. Make sure you do not put any quotes around null. The special null value represents that a variable has no value. If you put quotes around it, then it is just a string, not any different from any other string.
$host = 'localhost';
$user ='root';
$pass= null;
$dbase = 'Some_Database_Here';
$dblink = mysql_connect ($host, $user, $pass);
$connect = mysql_connect_db ($dbase, $dblink);