Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.

From: Andre Lopes <lopes80andre(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.
Date: 2011-12-02 23:52:37
Message-ID: CAGFRAbPU2UhdLfPzDeMkf7LRw1cPQg8PH45YfDEGSdQdCwUw9w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hogranch(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

In response to

Browse pgsql-general by date

  From Date Subject
Next Message gouse shaik 2011-12-03 02:37:33
Previous Message John R Pierce 2011-12-02 23:46:36 Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.