[Zope-DB] Stuck Installing Zope-MySQL Adapters

Ken Winter ken at sunward.org
Wed Feb 9 13:55:27 EST 2005


Chris -

Let me put it this way: YAAAAAAAAAAAAAAAAAAAAAAAAAAAY!!!  You don't know
what a pleasure it is to burst out of this wretched slogging and get back to
actually building something!  (Actually, I expect you DO know what a
pleasure it is.)

See the final battle in this war story, below.

Thank you so much for your patience and skill.

- Ken

> -----Original Message-----
> From: Chris Withers [mailto:chris at simplistix.co.uk]
> Sent: Wednesday, February 09, 2005 4:35 AM
> To: ken at sunward.org
> Cc: zope-db at zope.org
> Subject: Re: [Zope-DB] Stuck Installing Zope-MySQL Adapters
> 
> Ken Winter wrote:
> >>>>Now, copy everything (folders and files) that have 'mysql' in its name
> >>>
> >>>>from (likely) C:\Python23\lib\site-packages\  to
> >>>
> >>>>C:\Zope-Instance\lib\python.
> >
> > Done.
> 
> I don't believe you ;-)

As well you shouldn't!  :-S

It turns out that I had discovered the MySQLdb folder in my file browser,
and in my enthusiasm had just grabbed that, without looking for the plain
old files - and without noticing your careful stipulation "everything
(folders and files)".

> The import error on _mysql suggests you haven't copied that DLL, at the
> very least.
> 
> For me, it exists as:
> C:\Python23\Lib\site-packages\_mysql.pyd
> 
> You could also copy:
> C:\Python23\Lib\site-packages\_mysql_exceptions.pyo
> C:\Python23\Lib\site-packages\CompatMysqldb.pyo
> C:\Python23\Lib\site-packages\MySQLdb
> 
> (the last one is a folder)

Done, and all is well!




More information about the Zope-DB mailing list