MySql connect failed
| From: | mdiez at fibertel dot com dot ar | Date: | Thu, 24 Aug 2000 18:30:51 +0000 |
| Subject: | MySql connect failed | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-1194@lists.php.net to get a copy of this message | ||
Hola Gente,
Estoy trabajando con php4 y MySQL 3.22.29 sobre linux redhat.
Cuando tratro de conectarme con el usuario root al mysql
siempre me tira este error:
MySQL Connection Failed: Host 'localhost.localdomain' is not al
lowed to connect to this MySQL server
Mi codigo en PHP
$server="127.0.0.1";
$usuario="root";
$pwd="pass";
$base = mysql_connect ($server,$usuario,$pwd);
Alguien tiene alguna idea.
Saludos y muchas gracías,
Matías