Re: Re: Reusing connections quixote 2

Arturo FM <[email protected]> Tue, 7 Nov 2006 11:12:28 +0000 (GMT)
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
>If you really need cleanup then I guess you could use the "atexit"
>module.  Why do you think you need a cleanup method though?
MySQL throws a "MySQL has gone away" exception when a timeout is reached. I asked myself if it is possible and efficient to use another technique for handle database connections. For example, in each query, open a connection, execute query and close connection. I wrote others web application using Java and database's pools. BEA Weblogic Servers uses classes for handle database connections pools but I don't want to use a pool in Python.
Any idea?

Regards,
Arturo







		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com