Zope & MySQL: one step closer
Hi! As some of you might already know, I'm trying to connect Zope to MySQL which proves to be quite a hard thing for a small mind like mine. So I bought myself an ebook, and it says I need: Suse Linux 6.4 Zope 2.2.0 or higher MySQL 3.22.32 Python 1.5.2 ZMySQLDA-2.0.6 MySQLdb-0.3.5 I have Suse Linux 7.0, Zope 2.3.2 and the rest is just what the ebook wants. Of course I happily did everything I was told there, encountering no problems at all - until I tried to add a "Z MySQL Connection"-object which, as the book says, should be available in the "Ojects available"-menue, but wasn't. (Of course I restarted the server before.) Now I suspect, when the book was written, there was no Zope 2.3.2 and the explanation in the book worked for Zope 2.2.0 and every higher version that was released before the book was. In more detail, what I did was: - install MySQL and Python with YAST - download Zope 2.3.2, because Linux 6.4 comes with Zope 2.1.6 and the book says I need 2.2.0 or more - unpack the adapter and the interface into the directories named in the book - compile the interface - restart the server - get angry because after all this, my Zope wasn't changed at all Any suggestions? Thanks in advance Horst _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Hi Horst, Before you de-install and re-install, it might be worth while to turn on Zope debugging, if it's not already turned on, and look for any error messages logged during Zope's start-up routine. Those messages might point to a misplaced shared library or something similar. If you see any error messages, send them back up to the list. Good luck. Eric.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Horst Wald Sent: Tuesday, June 05, 2001 5:08 AM To: zope@zope.org; website-talk-admin@list.ora.com Subject: [Zope] Zope & MySQL: one step closer
Hi!
As some of you might already know, I'm trying to connect Zope to MySQL which proves to be quite a hard thing for a small mind like mine. So I bought myself an ebook, and it says I need:
Suse Linux 6.4 Zope 2.2.0 or higher MySQL 3.22.32 Python 1.5.2 ZMySQLDA-2.0.6 MySQLdb-0.3.5
I have Suse Linux 7.0, Zope 2.3.2 and the rest is just what the ebook wants. Of course I happily did everything I was told there, encountering no problems at all - until I tried to add a "Z MySQL Connection"-object which, as the book says, should be available in the "Ojects available"-menue, but wasn't. (Of course I restarted the server before.)
Now I suspect, when the book was written, there was no Zope 2.3.2 and the explanation in the book worked for Zope 2.2.0 and every higher version that was released before the book was.
In more detail, what I did was:
- install MySQL and Python with YAST - download Zope 2.3.2, because Linux 6.4 comes with Zope 2.1.6 and the book says I need 2.2.0 or more - unpack the adapter and the interface into the directories named in the book - compile the interface - restart the server - get angry because after all this, my Zope wasn't changed at all
Any suggestions?
Thanks in advance
Horst
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hi, Horst Wald wrote:
Suse Linux 6.4 Zope 2.2.0 or higher MySQL 3.22.32 Python 1.5.2 ZMySQLDA-2.0.6 MySQLdb-0.3.5
I have Suse Linux 7.0, Zope 2.3.2 and the rest is just what the ebook wants.
I don't know exactly which version of zope you finally installed (i.e. binary or source) but with the above config I would recommend to de-install everything except MySQL and Python 1.5.2 through YaST (be warned, I _think_ SuSE 7.0 installs 2.x by default). Then install the source-dist of Zope 2.3.2 and follow the Zope/Apache/SuSE HOWTO on Zope.org (sorry, I forgot the exact URL). You might leave out the part dealing with Apache as front-end. Read especially careful the section dealing with the configuration of etc/rc.config the init-script and the Zope start-script. After you've got Zope itself running, install Andy Dustmans MySQl-Adapters from source. This setup at least worked for me. hth, ta -------------------------------------------------------------------------- smartferret it-consulting Dipl.-Ing. Linzbichler KEG Dipl.-Ing. Takashi Veikko Linzbichler Tannhofweg 28/3 A-8044 Graz, Austria Tel.: 0316 / 39 89 40 -0 Fax: 0316 / 39 89 40 -20 Mobil: 0676 / 31 26 286 eMail: takashi.linzbichler@smartferret.com WWW: http://www.smartferret.com --------------------------------------------------------------------------
participants (3)
-
Eric Walstad -
Horst Wald -
Takashi Linzbichler