When i copy the product from parts/productdistros to products, i get an import error for _mysql. Adding MySQL-python will fix that.
On 07/27/2010 03:48 PM, Kees Hink wrote: > I'm investigating the options to store PFG data in a MySQL database. I've > found > the tutorial at > http://plone.org/products/ploneformgen/documentation/tutorial/sql-crud/tutorial-all-pages > where it says i should add a "Z MySQL Database Connection" in the ZMI. > However, > i can't find this option in my ZMI (Plone 3.3.5, Zope 2.10.11). > > Like the page above suggested, i have read > http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/RelationalDatabases.stx. > I've tried adding the ZMySQLDA tarball to the buildout's productdistros > section, but it still doesn't show up in my instance's products section in the > ZMI. It's the in parts/productdistros/lib/python/Products/, though. Last > update > of this product (http://www.zope.org/Members/adustman/Products/ZMySQLDA) was > 2001-09-06 23:55:13, so i'm wondering if the tutorial is still valid. > > When i try to add a "Z SQL Method", i get an error saying "There are no SQL > database connections. You need to add a Zope SQL database connection before > you > can create a Zope SQL Method." > > I also read the thread on this list called "File saving with PloneFormGen in > MySQL", but that assumes the database connection has already been added. > > So how do i store a PFG form in MySQL? > > Kees _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
