pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Doliov <doliov@statsol.com>
To: pgsql-novice@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: PHP problem solved
Date: Wed, 24 Jun 1998 15:05:19 -0700
Message-ID: <3591781F.D9177F1A@statsol.com> (raw)

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.



Message-ID: <3591781F.D9177F1A@statsol.com>
Permalink:  ../3591781F.D9177F1A@statsol.com/
Also on:    postgresql.org/message-id/3591781F.D9177F1A@statsol.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: doliov@statsol.com, pgsql-novice@postgresql.org
  Subject: Re: PHP problem solved
  In-Reply-To: <3591781F.D9177F1A@statsol.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