[Zope-DB] Zope and MySQL problem

Dieter Maurer dieter at handshake.de
Fri May 13 15:26:01 EDT 2005


Henk Laloli wrote at 2005-5-12 18:25 +0200:
>There have been some questions concerning the myssql adapter under Zope
>2.7.5. before on this list. I have been trying out
>MySQL-python-1.0.0.win32-py2.3.zip with ZMySQLDA-2.0.8.tar.gz. I use
>Windows XP. But they give the error:
> 
>Traceback (most recent call last):
>  File "C:\Program
>Files\Zope-2.7.5-final\lib\python\OFS\Application.py", line 673, in
>import_product
>    product=__import__(pname, global_dict, global_dict, silly)
>  File "C:\Zope-Instance\Products\ZMySQLDA\__init__.py", line 91, in ?
>    import DA
>  File "C:\Zope-Instance\Products\ZMySQLDA\DA.py", line 92, in ?
>    from db import DB
>  File "C:\Zope-Instance\Products\ZMySQLDA\db.py", line 89, in ?
>    import _mysql
>ImportError: No module named _mysql

This just means, that the "_mysql.pyd" DLL
is not where Python looks for it -- almost surely
an installation problem.

Carefully reread the installation instractions
and try again.

-- 
Dieter


More information about the Zope-DB mailing list