Zope Zone Navigation
 
Document Actions
  • Print this page
  • Add Bookmarklet

how to connction mysql use plone

Up to Plone / CMF

how to connction mysql use plone

Posted by Cui Jason at March 01. 2006
hello! please get me a way of connction mysql use plone thank!!!

how to connction mysql use plone

Posted by Phil Lanasa at April 05. 2006
Getting Zope and MySQL to talk to each other requires you to install the following two pieces of software:

1. The Zope MySQL Database Adapter (ZMySQLDA), available from http://www.zope.org/Members/adustman/Products/ZMySQLDA

2. The Python MySQL Database Interface (MySQLdb), a Python MySQL driver available from http://www.zope.org/Members/adustman/Products/MySQLdb

You can also find this software at http://sourceforge.net/projects/mysql-python

The installation process is fairly simple.

1. Install (copy) the ZMySQLDA files into Zope's Products directory (usually <Zope>/lib/python/Products).

2. Extract the MySQLdb files to the same place. Configure and compile the driver (instructions are available in the source archive) using the Python binary that shipped with your version of Zope. This is extremely important, because if you don't use the exact binary that ships with your Zope installation, Zope won't know how to handle the driver.

3. Install the compiled driver into your Zope build (again, instructions to accomplish this are available in the driver's documentation).

4. Restart Zope.
Powered by Ploneboard
 

Home Discussions Plone / CMF how to connction mysql use plone