[Zope-DB] OT Access database without ZSQL

working4aliving working4aliving@hotmail.com
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
any answer...)


----- Original Message -----
From: "Arthur Yip" <arthuryp@telus.net>
To: <zope-db@zope.org>
Sent: Monday, October 28, 2002 10:21 PM
Subject: [Zope-DB] Access database without


> Hi,
>
> 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
host=127.0.0.1")
> db.close()
> 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
dialog
> ask for username and password.  Did I do something wrong?
>
> Regards,
> Arthur
>
>
> _______________________________________________
> Zope-DB mailing list
> Zope-DB@zope.org
> http://lists.zope.org/mailman/listinfo/zope-db
>