Bob Hartung wrote:
> Thanks, but I have these changes in and it still will not connect:
> file:  pg_hba.conf:
> # IPv4 local connections:
> host    all         all         127.0.0.1/32          ident sameuser

He also wrote:
> >>$db = pg_connect('dbname=bpsimple user=minitwr password=RWHart') ;


The connection string you showed before will not match a "host" entry in
pg_hba.conf.  You need to have a "local" entry, which I think is
something that goes like

local   all     all             ident sameuser

Please check the documentation.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to