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
---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html