[Zope-DB] ... MySql connection pooling

seb.champy@infonie.fr seb.champy at infonie.fr
Thu Aug 18 12:39:29 EDT 2005


I'm new to zope/mysql. I succedeed in installing Zmsqlda/mysqldb (tested a "Z SQL method" referencing a "Z Mysql Database connection").

For performance reasons, I want to use connection pooling.
It seems that Zmsqlda/mysqldb implements this (in somme circumstances mysqladmin processlist shows multiple connections).

What's the way to requesting a connection from an external method or from a python script and thus not having to open a new connection anytime the method is run ? Can someone provide me a code sample ?

Thanks a lot for your help,

************************ ADSL JUSQU'A 8 MEGA + 3 MOIS DE TELEPHONE GRATUIT ************************
L'ultra haut débit à 15EUR/mois seulement ! Et vous téléphonez gratuitement en France vers les postes fixes,
hors numéros spéciaux pendant 3 mois.
Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/  (voir conditions sur le site)

More information about the Zope-DB mailing list