[Zope-CVS] CVS: Products/Ape - component.xml:1.6
Shane Hathaway
shane at zope.com
Wed Mar 24 22:17:38 EST 2004
Update of /cvs-repository/Products/Ape
In directory cvs.zope.org:/tmp/cvs-serv22204
Modified Files:
component.xml
Log Message:
Made multi-table properties the default.
Also removed the default "zodb_" prefix from table names and
added a MySQL example.
Incidentally, ran Zope on pure MySQL tonight. It was stable and even
seemed snappy.
=== Products/Ape/component.xml 1.5 => 1.6 ===
--- Products/Ape/component.xml:1.5 Wed Mar 24 10:52:07 2004
+++ Products/Ape/component.xml Wed Mar 24 22:17:07 2004
@@ -34,6 +34,22 @@
mount-point /sql
</ape-db>
+
+Or for a MySQL connection:
+
+
+<ape-db sql>
+ <ape-storage>
+ mapper-variation sql
+ <ape-dbapi-connection db>
+ connection-class apelib.sql.dbapi.MySQLConnection
+ module-name MySQLdb
+ connect-expression connect(db='ape')
+ </ape-dbapi-connection>
+ </ape-storage>
+ mount-point /sql
+</ape-db>
+
-->
@@ -101,7 +117,7 @@
'connect' function from the DB-API module.
</description>
</key>
- <key name="prefix" default="zodb_">
+ <key name="prefix" default="">
<description>
A prefix to use for all tables in the database.
</description>
More information about the Zope-CVS
mailing list