Thread: [Fwd: PygreSQL]

[Fwd: PygreSQL]

From
albert DURANTON
Date:
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