[Zope] ZMySQLda make failure

Nick Garcia ngarcia@codeit.com
Mon, 20 Dec 1999 13:21:08 -0800


technology@mylinuxisp.com wrote:
> 
> > I got this same error when I was trying to compile it under Solaris
> > 2.6.  My solution was to switch to using MySQLdb instead of
> > MySQLmodule.  You can find MySQLdb in the Contributed Products section
> > of www.zope.org.  You'll have to patch the ZMySQLDA to be able to use it
> > (the patch is included in the MySQLdb distribution).
> >
> > --
> > Nick Garcia | ngarcia@codeit.com
> > CodeIt Computing | http://code
> 
> Thanks Nick:
> 
> This is what I have done in response to the new information you have given
> me.
> -eI-e -eh-ea-ev-ee-e -er-ep-em-e -e--ee-e -et-eh-ee-e -ep-ey-et-eh-eo-en-e--
> em-ey-es-eq-el-em-eo-ed-eu-el-ee-e--e1-e.-e4-e0-e--e7-e.-ei-e3-e8-e6-e.-er-ep-
> em-e
> 
> I reinstalled the Zmysqlda. Here I still have the make problem.
> 
> I also installed the MySQLdb and ran the patch for ZMySQLda. I have restarted
> Zope. I go to manage zope and the MySQL database connection does not appear
> when adding new objects. Am I missing something obvious?
> 
> thanks again
> cj
> technology.nospam@mylinuxisp.com

Go to the Control_Panel/Product_Management and check the traceback.  It
should give you an idea of what's wrong.  If it can't find the mysql
module, then you probably need to copy the .so file that you compiled to
the ZMySQLDA folder (since you're using a binary distribution of Zope,
it uses the Python included, not the one installed on your machine).

Nick Garcia | ngarcia@codeit.com
CodeIt Computing | http://codeit.com