pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: brew@theMode.com
To: pgsql-php@postgresql.org
Subject: Re: Accessing Postgres db from apache using PHP
Date: Sun, 27 Jul 2003 22:10:09 -0400 (EDT)
Message-ID: <Pine.BSF.4.44.0307272200210.87583-100000@themode.com> (raw)
In-Reply-To: <001501c354a3$9aee0b40$0301a8c0@Mesa.com>


Bruce......

> In my php code, I have....

I always have to fool around with this to get it right, too. One thing
that helps is to get it working using psql first, you may get better error
messages.

Also you should check pg_hba.conf to make sure postgresql is allowing
connections from localhost.

brew

 ==========================================================================
                  Strange Brew   (brew@theMode.com)
     Check out my Musician's Online Database Exchange (The MODE Pages)
                        http://www.TheMode.com
 ==========================================================================





view thread (13+ messages)  latest in thread

Message-ID: <Pine.BSF.4.44.0307272200210.87583-100000@themode.com>
Permalink:  ../Pine.BSF.4.44.0307272200210.87583-100000@themode.com/
Also on:    postgresql.org/message-id/Pine.BSF.4.44.0307272200210.87583-100000@themode.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 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: brew@theMode.com
  Subject: Re: Accessing Postgres db from apache using PHP
  In-Reply-To: <Pine.BSF.4.44.0307272200210.87583-100000@themode.com>
  References: <001501c354a3$9aee0b40$0301a8c0@Mesa.com> <Pine.BSF.4.44.0307272200210.87583-100000@themode.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