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

From: John R Pierce <pierce(at)hogranch(dot)com>
To: 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:46:36
Message-ID: 4ED9635C.5020900@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andre Lopes 2011-12-02 23:52:37 Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.
Previous Message Andre Lopes 2011-12-02 23:41:15 Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.