[Zope] ZMySQLDA Help

Schmidt, Allen J. aschmidt@nv.cc.va.us
Tue, 2 Jul 2002 12:51:59 -0400


An installer that installs ZMySQLDA 2.0.8 and MySQLdb 0.9.1 for Zope
2.4.x/2.5.x
http://www.cs.fhm.edu/~ifw00065/index.shtml

-Allen

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tony
McDonald
Sent: Tuesday, July 02, 2002 12:46 PM
To: Todd Loomis, DMSO {SAIC}; zope@zope.org
Subject: Re: [Zope] ZMySQLDA Help


On 2/7/02 5:28 pm, "Todd Loomis, DMSO {SAIC}" <tloomis@dmso.mil> wrote:

> Hi:
> 
> Everytime I try to install ZMySQLDA I get the following error:
> 
> Traceback (most recent call last):
> File "/var/www/zope/lib/python/OFS/Application.py", line 531, in
> import_product
>   product=__import__(pname, global_dict, global_dict, silly)
> File "/var/www/zope/lib/python/Products/ZMySQLDA/__init__.py", line 91, in
?
>   import DA
> File "/var/www/zope/lib/python/Products/ZMySQLDA/DA.py", line 92, in ?
>   from db import DB
> File "/var/www/zope/lib/python/Products/ZMySQLDA/db.py", line 89, in ?
>   import _mysql
> ImportError: No module named _mysql
> 
> Can anybody assist me.
> 
> Thanks,
> Todd

ZMySQLDA needs the python MySQL module installed. You'll need to get the
source for mysql-python from http://sourceforge.net/projects/mysql-python
and compile it up. I lie. Andy has a few .exes and .rpms there - us old
timers are too used to the ./configure make make install dance. Time to drag
me out and shoot this 'ole dawg...

Hth
Tone.
-- 
Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/zope



_______________________________________________
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 )