Re: PHP Nuke & MySQL
| From: | Andres Ferrando | Date: | Mon, 12 Aug 2002 17:37:55 +0000 |
| Subject: | Re: PHP Nuke & MySQL | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-25829@lists.php.net to get a copy of this message | ||
existe el archivo "/tmp/mysql.sock"?
está corriendo el mysql?
si es así, fijate donde está ese archivo, y hacéle un link (con ln).
> Estoy tratando de configurar PHP Nuke en mi equipo y al conectarme con mi browser obtengo los
> siguientes errores:
>
> Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
> (111) in /usr/local/nuke/html/includes/sql_layer.php on line 79
>
> Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (111) in /usr/local/nuke/html/includes/sql_layer.php on line 79
>
> Warning: MySQL: A link to the server could not be established in
> /usr/local/nuke/html/includes/sql_layer.php on line 79
>
> Warning: Supplied argument is not a valid MySQL result resource in
> /usr/local/nuke/html/includes/sql_layer.php on line 285
>
> Warning: Supplied argument is not a valid MySQL result resource in
> /usr/local/nuke/html/includes/sql_layer.php on line 237
>
> Warning: Supplied argument is not a valid MySQL result resource in
> /usr/local/nuke/html/includes/sql_layer.php on line 285
>
> Warning: Supplied argument is not a valid MySQL result resource in
> /usr/local/nuke/html/includes/sql_layer.php on line 285
>
> Warning: Supplied argument is not a valid MySQL result resource in
> /usr/local/nuke/html/includes/sql_layer.php on line 285
>
> El usuario configurado en MySQL tiene permisos de acceso sobre la BD "nuke" y si
> pruebo conectarme desde linea de comando no hay errores.
>
> Alguien tiene idea cual es el problema.
> Gracias.-
>
> fp
--
Andres Ferrando <anferr@mecon.gov.ar>