X-Mozilla-Status2: 00000000
Message-ID: <3B12A6A1.2040205@mail.pf>
Date: Mon, 28 May 2001 09:27:29 -1000
From: albert DURANTON <duranton@mail.pf>
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17 i586; en-US;
	0.8.1) Gecko/20010326
X-Accept-Language: en
MIME-Version: 1.0
To: darcy@druid.net
Subject: PygreSQL
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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



