[Zope-DB] OT Access database without ZSQL
Wed, 30 Oct 2002 23:44:54 -0500
Arthur, what version of PostgreSQL are you running on XP?
Are you running cygwin?
(... asking this question while not knowing if it will help in giving Arthur
----- Original Message -----
From: "Arthur Yip" <email@example.com>
Sent: Monday, October 28, 2002 10:21 PM
Subject: [Zope-DB] Access database without
> I'm new to Zope. Not sure whether it is possible to access a database
> without ZSQL in Zope.
> I'm using PostgreSQL and Zope on Windows XP. I have successfully make a Z
> Psycopg Database Connection in Zope. However, when I tried to write a
> script like this:
> import psycopg
> db = psycopg.connect("dbname=cvp user=webuser password=foo
> return ""
> The DSN is the same as the one I use in Z Psycopg Database Connection.
> Whenever I run this script, the web browser prompt the authentication
> ask for username and password. Did I do something wrong?
> Zope-DB mailing list