"jupiter" <[EMAIL PROTECTED]> writes: > conn = psycopg2.connect("dbname=test user=test") > > Traceback (most recent call last): > File "<pyshell#8>", line 1, in <module> > conn = psycopg2.connect("dbname=test user=test") > OperationalError: could not connect to server: Connection refused > (0x0000274D/10061) > Is the server running on host "???" and accepting > TCP/IP connections on port 5432? > > this is the error I am getting with psycopg2 I want to access a local > file
PostgreSQL is a server, it access the files. You talk to the RDBMS server. Is it running? Is it accepting connections from your host? -- Jorge Godoy <[EMAIL PROTECTED]> -- http://mail.python.org/mailman/listinfo/python-list