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

From Andre Lopes
Subject Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.
Date
Msg-id CAGFRAbPU2UhdLfPzDeMkf7LRw1cPQg8PH45YfDEGSdQdCwUw9w@mail.gmail.com
Whole thread Raw
In response to Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
Hi John,

Thanks for the replies.

The problem was the ident in the host. Problem solved.

Thanks a lot!

Best Regards,


On Fri, Dec 2, 2011 at 11:46 PM, John R Pierce <pierce@hogranch.com> wrote:
> 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
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.
Next
From: gouse shaik
Date:
Subject: