am trying to connect to a database. When I use the following syntax,
the connections works
$server=localho st
$username=myuse rname;
$password=mypas sword
mysql_connect($ server,$usernam e,$password);
However, if I change the $server="server _ip", I get an error
"Access Denied for user user_name@" (using password:YES)
What could be wrong ? Is it some permission issue ?
the connections works
$server=localho st
$username=myuse rname;
$password=mypas sword
mysql_connect($ server,$usernam e,$password);
However, if I change the $server="server _ip", I get an error
"Access Denied for user user_name@" (using password:YES)
What could be wrong ? Is it some permission issue ?
Comment