I am having great trouble sorting a mysql database adapter out on windows xp. Does anyone know how it can be done. regards garry
Maybe you could give us some *detailed* informations what your real problem is?! -aj --On Sonntag, 7. März 2004 19:38 Uhr +0000 garry saddington <garry@joydiv.fsnet.co.uk> wrote:
I am having great trouble sorting a mysql database adapter out on windows xp. Does anyone know how it can be done. regards garry
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
The problem was getting any database adapter (at all) to work with zope 2.7 on xp (Unfortunately I have to use xp for this install - all my Linux installs work great.) However, i have solved the problem and seeing that I found it difficult to find any guidance, I thought I would post the solution. 1/ Install python2.3 2/ install zope2.7 and create a zope-instance 3/Get the ZMySQLDA adapter from zope.org and place it in the products directory of the zope-instance 4/ Download the MySQL-python .exe for python2.3 from: https://sourceforge.net/project/showfiles.php?group_id=22307&release_id=1028... 5/ Install this .exe which puts new files in the python site-packages directory just installed (it would have been empty before this install) 6/Copy these new files to the new zope2.7\lib\python directory 7/Restart zope regards garry
garry saddington wrote:
3/Get the ZMySQLDA adapter from zope.org and place it in the products directory of the zope-instance
That might be heinously old, I'd use ZMySQLDA from sourceforge too...
4/ Download the MySQL-python .exe for python2.3 from: https://sourceforge.net/project/showfiles.php?group_id=22307&release_id=1028... 5/ Install this .exe which puts new files in the python site-packages directory just installed (it would have been empty before this install) 6/Copy these new files to the new zope2.7\lib\python directory
yep, or you can make a \lib\python directory in your instance home and put the files there instead, if you don't want to polute your base install and want ot keep it easy to switch Zope versions later... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Andreas Jung -
Chris Withers -
garry saddington