I try to connect using script below
<?php
$link = mysql_pconnect("192.168.0.154","","") or die ("Could not connect to host ");
print "<b>Connected sucessfully</b></br>";
mysql_select_db('scully',$link );
echo mysql_errno() . ": " . mysql_error(). "\n";
// or die ("Could not the select database");
echo "connected to database";
?>
I get the message below.
Connected sucessfully
1044: Access denied for user: '@192.168.0.146' to database 'scully' connected to database
I did not put any passwords on the database. can anyone tell me why I am being denied access?