Re: Enable user access from remote host

From: Andreas Wenk <a(dot)wenk(at)netzmeister-st-pauli(dot)de>
To: Piotre Ugrumov <afmulone(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Enable user access from remote host
Date: 2009-03-08 15:53:56
Message-ID: 49B3EA14.9000409@netzmeister-st-pauli.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Piotre Ugrumov schrieb:
> On 8 Mar, 02:08, pie(dot)(dot)(dot)(at)hogranch(dot)com (John R Pierce) wrote:
>> Martin Gainty wrote:
>>> postgresql.conf :
>>> change listen_address to a real ip
>> change it to '*' or you won't be able to use localhost... alternately,
>> youc could specify ip.of.net.iface,localhost if you wanted to be specific.
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-gene(dot)(dot)(dot)(at)postgresql(dot)org)
>> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general
>
> Hi,
> I inserted this line at the end of the pg_hba.conf
>
> host test angelo "" ident sameuser
>
> I inserted the "" to allow to everyone to access to the db.
> But if I try to access, from another host, I receive an error. What is
> the error in that line?

just leave it blank ... no "" signs ...

Cheers

Andy

--
Andreas Wenk
Hamburg - Germany

> Thanks, bye bye.
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Carl Sopchak 2009-03-08 16:37:05 Re: Newbie questions relating to transactions
Previous Message Alvaro Herrera 2009-03-08 15:49:50 Re: Newbie questions relating to transactions