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 ? I notice in some documentation that zope needs to load _mysql and that seems to be the only similar file on the system. __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com
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. -- Jim Washington
--- 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 http://health.yahoo.com
--- 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.
-- Jim Washington
All effort was not to waste. I simply uninstalled libtool-1.3.4_2 and installed libtool-1.3.4_4 - itworks! __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com
participants (2)
-
Dave Banning -
Jim Washington