[Zope] ZMySQLDA

Ben Ocean zope@thewebsons.com
Thu, 03 Jan 2002 06:07:39 -0800


HOT DAMN! Ya know, I could have sworn that's the version I d'l'd since the 
Web page d'l link was colored in such a way as to indicate I'd visited it, 
but you're right, I had an old version, ripped it out, installed the new 
and bang! I'm in business! THANKS!!!!
BenO

At 02:39 PM 1/3/02 +0100, you wrote:
>take a look in db.py
>
>############################################################################
>##
>
>'''$Id: db.py,v 1.16 2001/09/07 03:45:35 adustman Exp $'''
>__version__='$Revision: 1.16 $'[11:-2]
>
>import _mysql
>from _mysql_exceptions import OperationalError, NotSupportedError
>MySQLdb_version_required = (0,9,0)
>
>You have to take care about the versions ov ZMySQLDA and MySQL-python
>
>I attached my db.py for corresponding with ZMySQLDA 2.0.8 .
>
>I *think* that you not have ZMySQLDA 2.0.8, sorry ;-) take a look at
>VERSION.txt of ZMySQLDA
>
>
>----- Original Message -----
>From: "Ben Ocean" <zope@thewebsons.com>
>To: "Dirk Datzert" <Dirk.Datzert@rasselstein-hoesch.de>
>Sent: Thursday, January 03, 2002 2:34 PM
>Subject: Re: [Zope] ZMySQLDA
>
>
> > At 01:34 PM 1/3/02 +0100, you wrote:
> > >Change the import statement in db.py from
> > >
> > >import MySQL
> > >
> > >into
> > >
> > >import _mysql
> >
> > Well, then it doesn't find things like MySQL.error (or, _mysql.error, if
> > you prefer, which apparently doesn't exist).
> > Thanks for your continued help...hopefully we get to the bottom of this!
> > TIA,
> > BenO
> >
> >
> >