Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok. - Mailing list pgsql-general

From John R Pierce
Subject Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.
Date
Msg-id 4ED9635C.5020900@hogranch.com
Whole thread Raw
In response to Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.  (Andre Lopes <lopes80andre@gmail.com>)
Responses Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.
List pgsql-general
On 12/02/11 3:41 PM, Andre Lopes wrote:
> My pg_hba.conf have this:
> [code]
> # TYPE  DATABASE        USER            CIDR-ADDRESS            METHOD
>
> # "local" is for Unix domain socket connections only
> local   all             all                                     ident
> # IPv4 local connections:
> host    all             all             127.0.0.1/32            ident
> # IPv6 local connections:
> host    all             all             ::1/128                 ident
>
> [/code]
>
> Some clue with this config file?


see my other post.  and don't use ident for 'host' connections, its not
really suitable.



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


pgsql-general by date:

Previous
From: Andre Lopes
Date:
Subject: Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.
Next
From: Andre Lopes
Date:
Subject: Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.