|
Posted by Wolfgang Forstmeier on 10/06/89 11:53
Hi Pankaj,
i think it would be interessting for you to have a look at your
MySQL User privileges table. You will see that your user is only
able to connect from localhost.
Have a nice day,
Wolfgang.
Pankaj wrote:
> 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 ?
>
[Back to original message]
|