Thread: zope connection string

zope connection string

From
"cmo1\@libero\.it"
Date:
In order to my mail bug #2801 I've solved this one modify the zope-psycopgda connection string:
postgresql7.4.7:dbname=... user=...
while
postgresql7.2.1:dbname=... user=... host=...
I don't know why but it works.
Cordial regards
Carmelo


------------------------------------------------------
Mutuo da 200.000€? Tassi ridotti:euribor +0.69%. Solo per richieste online. www.mutuionline.it
http://click.libero.it/mutuionline04dic0



Re: zope connection string

From
Alvaro Herrera
Date:
cmo1@libero.it wrote:
> In order to my mail bug #2801 I've solved this one modify the zope-psycopgda connection string:
> postgresql7.4.7:dbname=... user=...
> while
> postgresql7.2.1:dbname=... user=... host=...
> I don't know why but it works.

When you specify "host" it always uses a TCP socket.  If you don't it
tries a Unix socket.  If the TCP socket is not enabled, obviously the
second line will fail.  I assume the host is localhost.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.