Обсуждение: [Fwd: PygreSQL]

Поиск
Список
Период
Сортировка

[Fwd: PygreSQL]

От
albert DURANTON
Дата:
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