[Zope] ZMySQLDA/Navigator startup error

Dieter Maurer dieter@handshake.de
Mon, 19 Aug 2002 21:56:10 +0200


wayne@wayneconnolly.com writes:
 > ...
 > /usr/local/www/Zope/lib/python/Products/ZMySQLDA/db.py,
 > line 89, in ?
 > ImportError: No module named _mysql
It does not find the "_mysql" shared object.

Ensure that it can be found via the PYTHONPATH (search the Python documentation,
when you do not know what this is).
Note that "z2.py" adds its "lib/python" folder to Python's search path.

Thus, if you put "_mysql.so" (this might also be "_mysqlmodule.so")
inside "/usr/local/www/Zope/lib/python", if will be found.

You can also use a symbolic link rather than copying "_mysql.so".


Dieter