[Zope-DB] Re:MySQL problems

working4aliving working4aliving@hotmail.com
Fri, 23 Aug 2002 15:42:18 -0400


I'm not sure if this got posted yet... I looked in sent items, but here we
go again.

I would kill the w2k windows "~" directories by uninstalling and then
installing in something simple.
(C:\zope)
Don't install python, it'll get installed automatically w/ zope.
Install mysql-3.23.51-win.zip (from mysql.org) if  you want a local mysql
server. (probably?)
install Mysql-python-0.9.1.win32.py2.1.exe
then install that exe that I had posted before.
Give it a try.  Good luck, keep the faith.. it'll be worth it.


----- Original Message -----
From: "Dieter Maurer" <dieter@handshake.de>
To: "Adam Shallcross" <aes@starfishuk.com>
Cc: "working4aliving" <working4aliving@hotmail.com>; <zope-db@zope.org>
Sent: Friday, August 23, 2002 2:28 PM
Subject: RE: [Zope-DB] Re:MySQL problems (Adam Shallcross)


> Adam Shallcross writes:
>  > ...
>  >     import _mysql
>  > ImportError: No module named _mysql
> Seems currently to be a recurring problem. I answered some 5 messages
> recently about this same problem (for such purposes, the mailing
> lists have archives (hint!)).
>
> Python, the one executing Zope, is unable to locate the
> "_mysql.dll".
>
> If you did not yet already, you must install "MySQL-Python" for
> Windows (and Python 2.1.3).
>
> You must then either put the Python modules and shared libraries
> from "MySQL-Python" into a place where the Python interpreter
> looks usually ("<your_Zope_Directory>/lib/python" is a candidate)
> or set up PYTHONPATH appropriately.
>
> Please careful read the installation instructions for "MySQL-Python".
> Search the mailing list archives for PYTHONPATH, if necessary.
>
> There are also MySQL installation on Windows HowTos, I think even
> at Zope.org. Search for them!
>
>
> Dieter
>