[Zope] Creating database connection

Phil Harris phil.harris@zope.co.uk
Tue, 6 Feb 2001 11:04:26 -0000


Ben,

You need to get the ZMySQLDA for Zope and the MySQL-Python adapter for
Python, ;).

These can be found at www.dustman.net/andy/python.

These will need to be compiled against your version of MySQL, if you have
trouble with this, I could be persuaded to create some and put them up
somewhere, but this would be compiled against my version of MySQL.

hth

Phil
phil.harris@zweb.co.uk

----- Original Message -----
From: "Ben Edwards" <ben@videonetwork.org>
To: <zope@zope.org>
Sent: Tuesday, February 06, 2001 10:47 AM
Subject: [Zope] Creating database connection


> When I try to create a Z SQL Method I get:
>
> There are no SQL database connections. You need to add a Zope SQL database
> connection before you can create a Zope SQL Method.
>
> Fair enough, but how do I create the connection, I have looked on the zope
> website, looked at the chapter on databases in the 'zope book' and looked
> on the net in general.
>
> I have hit a brick wall, can anybody help (I am using mysql on windowz).
>
> Regard,
> Ben
> *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
> * Ben Edwards lostit@videonetwork.org    +44 (0)7970 269 522 *
> * Campaign Against proper English, Dyslexia division         *
> * Homepage                http://www.gifford.co.uk/~bedwards *
> * i-Contact Progressive Video    http://www.videonetwork.org *
> * Smashing the Corporate image     http://www.subvertise.org *
> * Bristol's radical news            http://www.bristle.co.uk *
> * Open Directory Project                 http://www.dmoz.org *
> *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )