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

Поиск
Список
Период
Сортировка
От Andre Lopes
Тема Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.
Дата
Msg-id CAGFRAbPU2UhdLfPzDeMkf7LRw1cPQg8PH45YfDEGSdQdCwUw9w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.  (John R Pierce <pierce@hogranch.com>)
Список 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 по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Can't access to database from webapp in PostgreSQL 9.0, from shell it is Ok.
Следующее
От: gouse shaik
Дата:
Сообщение: