pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vince Vielhaber <vev@michvhf.com>
To: Devrim GUNDUZ <devrim@oper.metu.edu.tr>
Cc: pgsql-php@postgresql.org
Subject: Re: Connecting PostgreSQL db using Pear
Date: Fri, 4 Oct 2002 14:46:22 -0400 (EDT)
Message-ID: <Pine.BSF.4.40.0210041442560.88198-100000@paprika.michvhf.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0210042113030.14351-100000@oper.metu.edu.tr>

On Fri, 4 Oct 2002, Devrim GUNDUZ wrote:

>
> Hi Vince,
>
> On Fri, 4 Oct 2002, Vince Vielhaber wrote:
>
> > Strangely enough, yes.  I just did it this week.
> > <snip>
>
> No, I still could not succeed...
>
> Here is my pg_hba.conf file:
>
> local      all                                          password passwdf
> host       all         127.0.0.1     255.255.255.255    password passwdf
>
> here is the part of postgresql.conf file:
>
> tcpip_socket = false
> #port = 5432
>
>
> So, what should be the $dsn variable??

Ok, my example assumed you were set up for trust not password.

pgsql://username:password@unix+localhost/database_name

That *should* do it.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: vev@michvhf.com    http://www.pop4.net
         56K Nationwide Dialup from $16.00/mo at Pop4 Networking
      http://www.camping-usa.com      http://www.cloudninegifts.com
   http://www.meanstreamradio.com       http://www.unknown-artists.com
==========================================================================






view thread (7+ messages)  latest in thread

Message-ID: <Pine.BSF.4.40.0210041442560.88198-100000@paprika.michvhf.com>
Permalink:  ../Pine.BSF.4.40.0210041442560.88198-100000@paprika.michvhf.com/
Also on:    postgresql.org/message-id/Pine.BSF.4.40.0210041442560.88198-100000@paprika.michvhf.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: vev@michvhf.com, devrim@oper.metu.edu.tr
  Subject: Re: Connecting PostgreSQL db using Pear
  In-Reply-To: <Pine.BSF.4.40.0210041442560.88198-100000@paprika.michvhf.com>
  References: <Pine.LNX.4.44.0210042113030.14351-100000@oper.metu.edu.tr> <Pine.BSF.4.40.0210041442560.88198-100000@paprika.michvhf.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