What needs to be done is that you create a new user in the 'user' databese
where you replace 'localhost' with the IP number of the machine you will be
using to log in to your database and then grant the appropriate priviliges.

hope to have been of any help.
jan

Lester June Cabrera wrote:

> How can I connect to our MySQL server remotely. Ordinarily, we upload the
> same PHP application the same machine that runs MySQL too. So, I just
> access it using "localhost" in the mysql_connect( ) function, like:
>
>         mysql_connect($servername,$dbusername,$dbpassword);
>
>         where $servername = "localhost"
>
> What if I want to access the MySQL server from my Win test machine that
> runs Apache?
>
> Thanks,
> Lester
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to