From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-php@postgresql.org
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Date: Thu, 7 Apr 2011 10:52:46 -0700 (PDT)
Message-ID: <alpine.LNX.2.00.1104071048390.397@salmo.appl-ecosys.com> (raw)
In-Reply-To: <201104071042.05559@hal.medialogik.com>
References: <alpine.LNX.2.00.1104070900530.397@salmo.appl-ecosys.com>
<201104070951.36063@hal.medialogik.com>
<alpine.LNX.2.00.1104071012360.397@salmo.appl-ecosys.com>
<201104071042.05559@hal.medialogik.com>
On Thu, 7 Apr 2011, Alan Hodgson wrote:
> What is @authmethod@? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: rshepard@appl-ecosys.com
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
In-Reply-To: <alpine.LNX.2.00.1104071048390.397@salmo.appl-ecosys.com>
References: <alpine.LNX.2.00.1104070900530.397@salmo.appl-ecosys.com> <201104070951.36063@hal.medialogik.com> <alpine.LNX.2.00.1104071012360.397@salmo.appl-ecosys.com> <201104071042.05559@hal.medialogik.com> <alpine.LNX.2.00.1104071048390.397@salmo.appl-ecosys.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox