Forget PHP for a second..... Can you connect to that server normally, using
a MySQL Client?

----- Original Message -----
From: "Moise Bertrand TACHAGO" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 1:55 PM
Subject: [PHP] Connexion to MySQL


> Hi,
>
> Please can anyone help me to understand and resolve the probleme below
>
> Warning: MySQL Connection Failed: Host '195.24.202.98' is not allowed to
connect to this MySQL server in
> /usr/local/apache/htdocs/kolosys/Menu.php on line 35
> ERROR:
>
> Unable to connect to server
>
> I have this probleme when i'm try to connect to MySQL through a php
program i had wrote.
>
> This is how i made the connexion:
>
> $server=getenv("SERVER_NAME");
>
> $user="root";
>
> $pass="";
>
> mysql_connect($server,$user,$pass);
>
> Thanks in advance
>
> --
> Moise Bertrand TACHAGO
> Computer scientist
> Intern SDNP Cameroon, 506 Hajal Center Building, Yaounde CAMEROON
> phone   (237)22 24 90
> E_mails [EMAIL PROTECTED]
>         [EMAIL PROTECTED]
>
>
>


-- 
PHP General 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