Connexion to MySQL
| From: | Moise Bertrand TACHAGO | Date: | Wed, 18 Jul 2001 20:55:29 +0000 |
| Subject: | Connexion to MySQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-58546@lists.php.net to get a copy of this message | ||
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 mbtachago@sdnp.cm
tachago_bertrand@yahoo.fr