| From: | Rich Shepard <rshepard(at)appl-ecosys(dot)com> | 
|---|---|
| To: | pgsql-php(at)postgresql(dot)org | 
| Subject: | Re: Connecting PHP-based Application to Postgres-9.0.3 | 
| Date: | 2011-04-07 17:52:46 | 
| Message-ID: | alpine.LNX.2.00.1104071048390.397@salmo.appl-ecosys.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-php | 
On Thu, 7 Apr 2011, Alan Hodgson wrote:
> What is @authmethod(at)? That looks like a substitution parameter from
> something?
Alan,
   Oops! Copied tail of wrong file. It's not at the end of
/usr/local/pgsql/data/pg_hba.conf. That has:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local   all             all                                     trust
# IPv4 local connections:
host    all             all             127.0.0.1/32            trust
# IPv6 local connections:
host    all             all             ::1/128                 trust
> Try changing the auth method on 127.0.0.1/32  to trust (just for testing),
> and then if that works set it to md5 and assign a password.
That's what it is: trust.
Rich
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Brian Fehrle | 2011-04-07 17:56:02 | Re: Connecting PHP-based Application to Postgres-9.0.3 | 
| Previous Message | Alan Hodgson | 2011-04-07 17:42:05 | Re: Connecting PHP-based Application to Postgres-9.0.3 |