|
Posted by Pankaj on 10/11/34 11:53
I am trying to connect to a database. When I use the following syntax,
the connections works
$server=localhost
$username=myusername;
$password=mypassword
mysql_connect($server,$username,$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 ?
Navigation:
[Reply to this message]
|