[Zope] ZMySQLDa and Win32

David Parker daevidparker@yahoo.com
Sat, 3 Mar 2001 16:53:44 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_002A_01C0A402.81F9DE60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm attempting to use MySQL with Zope on Windows 2000. Here is a summary =
of products used.
Zope 2.3
MySQL 3.23.33
ZMySQLDA-2.0.4
MySQL-python-0.3.3
I followed the howto laid out at http://www.zope.org/Members/philh/mysql =
. (I cannot find the file libmySQL.dll). After all is said and done =
ZMySQLDa is installed as a broken product. Below is a Traceback. Has =
anyone gotten this to work or know of a more current howto?

Traceback (innermost last):
  File "C:\Zope\DavWeb\lib\python\OFS\Application.py", line 530, in =
import_products
    product=3D__import__(pname, global_dict, global_dict, silly)
  File "C:\Zope\DavWeb\lib\python\Products\ZMySQLDA\__init__.py", line =
91, in ?
    import DA
  File "C:\Zope\DavWeb\lib\python\Products\ZMySQLDA\DA.py", line 91, in =
?
    from db import DB
  File "C:\Zope\DavWeb\lib\python\Products\ZMySQLDA\db.py", line 89, in =
?
    import _mysql
ImportError: No module named _mysql

Thanks,
David

------=_NextPart_000_002A_01C0A402.81F9DE60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm attempting to use MySQL with Zope =
on Windows=20
2000. Here is a summary of products used.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Zope 2.3</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>MySQL 3.23.33</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ZMySQLDA-2.0.4</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>MySQL-python-0.3.3</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I followed the howto laid out at <A=20
href=3D"http://www.zope.org/Members/philh/mysql">http://www.zope.org/Memb=
ers/philh/mysql</A>&nbsp;.=20
(I cannot find the file libmySQL.dll). After all is said and done =
ZMySQLDa is=20
installed as a broken product. Below is a Traceback. Has anyone gotten =
this to=20
work or know of a more current howto?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Traceback (innermost last):<BR>&nbsp; File=20
"C:\Zope\DavWeb\lib\python\OFS\Application.py", line 530, in=20
import_products<BR>&nbsp;&nbsp;&nbsp; product=3D__import__(pname, =
global_dict,=20
global_dict, silly)<BR>&nbsp; File=20
"C:\Zope\DavWeb\lib\python\Products\ZMySQLDA\__init__.py", line 91, in=20
?<BR>&nbsp;&nbsp;&nbsp; import DA<BR>&nbsp; File=20
"C:\Zope\DavWeb\lib\python\Products\ZMySQLDA\DA.py", line 91, in=20
?<BR>&nbsp;&nbsp;&nbsp; from db import DB<BR>&nbsp; File=20
"C:\Zope\DavWeb\lib\python\Products\ZMySQLDA\db.py", line 89, in=20
?<BR>&nbsp;&nbsp;&nbsp; import _mysql<BR>ImportError: No module named=20
_mysql<BR></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>David</FONT></DIV></BODY></HTML>

------=_NextPart_000_002A_01C0A402.81F9DE60--


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com