Hi,

I'm trying to set up MySQL database connectivity as per the 
http://plone.org/documentation/kb/plone-and-mysql/tutorial-all-pages
tutorial on the Plone site .

Here are my versions:

    * Plone 3.3.5
    * CMF 2.1.2
    * Zope (unreleased version, python 2.4.5, linux2)
    * Python 2.4.5 (#1, May 26 2009, 16:04:26) [GCC 4.1.2 20080704 (Red Hat
4.1.2-44)]
    * PIL 1.1.6

I have endeavored to install MySQL Python and Zope ZMySQLDA as follows:

1. Locate the latest version of 
http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz/download
MySQL-python , download and unpack.

2. As per the README instructions (as root):

Build: /usr/local/Plone/Python-2.4/bin/python setup.py build

Install: /usr/local/Plone/Python-2.4/bin/python setup.py install

3. Check MySQL-Python installed:

      /usr/local/Plone/Python-2.4/bin/python

      Python 2.4.5 (#1, May 26 2009, 16:04:26)
      [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import MySQLdb
      >>>

4. Add Products.ZMySQLDA to my buildout.cfg.

############################################
# Eggs
# ----
# Add an indented line to the eggs section for any Python
# eggs or packages you wish to include.
#
eggs =
    Plone
    Products.NuPlone
    Products.CacheSetup
    Products.PloneFormGen
    Products.LDAPUserFolder
    Products.LDAPMultiPlugins
    Products.PloneLDAP
    Products.ZMySQLDA

5. Run a buildout:

./bin/buildout

However, on restarting Plone, and entering the ZMI, I am unable to add a Z
MYSQL Database Connection.  This simply does not exist in the dropdown menu
(although I do see Z SQL Method in the dropdown menu).

Anyone got any pointers?

Cheers,  Jim



-- 
View this message in context: 
http://plone.293351.n2.nabble.com/Plone-MySQL-No-Z-MYSQL-Database-Connection-from-ZMI-tp5487160p5487160.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
Setup@lists.plone.org
http://lists.plone.org/mailman/listinfo/setup

Reply via email to