[Fwd: PygreSQL] - Mailing list pgsql-bugs

From albert DURANTON
Subject [Fwd: PygreSQL]
Date
Msg-id 3B12CA11.7040605@mail.pf
Whole thread Raw
List pgsql-bugs
I write a french account software in Python. I need PostgreSQL but i can
not connect to it with Python.  I always get this :
python
 >>> import pg
 >>> dc = pg.connect('testdb','localhost')

pg.error : connectDB() -- connect() failed : connection refused
Is the postmaster running (with -i) at 'localhost' and accepting
connections on Unix socket '5432'

Y all try, alway the same ansverd.
Can you help me ?
Merci
Albert DURANTON




pgsql-bugs by date:

Previous
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: "pg_ctl restart" in 7.1.2
Next
From: "Frank Contrepois"
Date:
Subject: BUG REPORT