Re: Connecting PostgreSQL db using Pear

Поиск
Список
Период
Сортировка
От Vince Vielhaber
Тема Re: Connecting PostgreSQL db using Pear
Дата
Msg-id Pine.BSF.4.40.0210041442560.88198-100000@paprika.michvhf.com
обсуждение исходный текст
Ответ на Re: Connecting PostgreSQL db using Pear  (Devrim GUNDUZ <devrim@oper.metu.edu.tr>)
Ответы Re: Connecting PostgreSQL db using Pear  (Devrim GUNDUZ <devrim@oper.metu.edu.tr>)
Список pgsql-php
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
==========================================================================




В списке pgsql-php по дате отправления:

Предыдущее
От: Devrim GUNDUZ
Дата:
Сообщение: Re: Connecting PostgreSQL db using Pear
Следующее
От: Devrim GUNDUZ
Дата:
Сообщение: Re: Connecting PostgreSQL db using Pear