Re: error

From: Mario Gonzalez <gonzalemario(at)gmail(dot)com>
To: ramirex <ramirex(at)gmail(dot)com>
Cc: postgresql <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: error
Date: 2005-10-27 12:19:17
Message-ID: 2065a6cf0510270519x6f04cc9cl@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On 27/10/05, ramirex <ramirex(at)gmail(dot)com> wrote:
> saludos
>
> tengo el siguiente error...
>
> Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: IDENT
> authentication failed for user "ramirex" in /var/www/server/conexion.php on
> line 3
>
> Warning: pg_errormessage(): supplied argument is not a valid PostgreSQL
> link resource in /var/www/server/conexion.php on line 5
> Se conecto a la base de datosss
>
> alguien me podría explicar cual es mi falla???????
>
No estas leyendo bien los errores, ademas el segundo warning se da
debido a que tu aplicacion no la estas programando bien, siempre debes
validar los datos por si algo falla, cosa que no estas haciendo en tu
codigo.
Pero creo que tu error se da al no tener configurado bien el pg_hba.conf.

http://www.postgresql.org/docs/8.0/static/client-authentication.html#AUTH-PG-HBA-CONF

>

In response to

  • error at 2005-10-27 03:09:36 from ramirex

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Mauricio Arrano 2005-10-27 12:31:36 RE: vistas
Previous Message Mario Gonzalez 2005-10-27 12:15:06 Re: Ayuda