List Info

Thread: Reusing connections quixote 2




Reusing connections quixote 2
user name
2006-11-07 11:12:28
>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
_______________________________________________
Quixote-users mailing list
Quixote-usersmems-exchange.org
http://mail.mems-exchange.org/mailman/listinfo/quixo
te-users
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )