Skip site navigation (1) Skip section navigation (2)

PHP problem solved

From: Steve Doliov <doliov(at)statsol(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: PHP problem solved
Date: 1998-06-24 22:05:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
My PHP interface now works, and there was only one change i needed to
make to my script.

pg_Connect("host=gecko user=... dbname..);
                 earlier i was putting down localhost here.  that kept
getting rejected with auth failures.  now that i put down
the host name, it's happy.  i woulda thought this wasn't necessary and
perhaps there is still somehting wrong with my pg_hba.conf, but now at
least crypt and password authentication work.

hope this helps anyone else having the same problems.

pgsql-interfaces by date

Next:From: John HorncastleDate: 1998-06-24 22:38:30
Subject: [INTERFACES] Escape Characters
Previous:From: Eric HillmanDate: 1998-06-24 19:55:15
Subject: Cold Fusion

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group