[Zope] python mysql module not loading - where should it be?

Dave Banning sky_tracker@yahoo.com
Tue, 30 Jul 2002 15:57:48 -0700 (PDT)

--- Jim Washington <jwashin@vt.edu> wrote:
> Dave Banning wrote:
> >I believe I have the correct files on the system to get zope
> >working with mysql, but mysql is not loading. Could it be that
> >zope wants /usr/local/lib/python2.2/site-packages/_mysql.so ?
> >  
> >
> No, unless you are using the python2.2 in /usr/local/bin for your Zope, 
> in which case it would have found it, no?
> Your Zope is using a different Python somewhere on your machine.  You 
> need to install MySQL-python for that Python.  It is available at 
> http://sourceforge.net/project/showfiles.php?group_id=22307&release_id=51760
> Note that you must use the same python your zope uses to run the 
> setup.py, and then you should be up and running.
Thanks for your response Jim.

I do not have mysql-python installed but python-mysqldb. I am told that
python-mysql is dated and has security holes. On python, I only have 2.2.1
installed, and python -is- in /usr/local/bin as you suggested.

Do You Yahoo!?
Yahoo! Health - Feel better, live better