Re: pg_hba.conf file

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_hba.conf file
Date: 2001-03-03 10:34:09
Message-ID: Pine.LNX.4.30.0103031131570.937-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martin A. Marques writes:

> local all trust
> host all 127.0.0.1 255.255.255.255 password
> host all 168.96.132.31 255.255.255.0 password
> host all 170.210.8.31 255.255.255.0 password
>
> What do you people hear think of this? I'm consurned about the local enterie,
> but when I put password instead of trust, I can't login with PHP to the
> database.

Apparently, your PHP application connects through the 'local' (Unix domain
socket) connection. That means the 'host' entries are irrelevant. Of
course if you set the authentication method to 'password' and don't
actually provide a (correct) password then things aren't going to work.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-03 10:38:35 Re: Error message on pg_dumpall
Previous Message Peter Eisentraut 2001-03-03 10:31:51 Re: Can you list the text of a proc in psql?