Re: [SQLObject] MySQL Connection Leaking
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2005-01-10 22:35:10
|
Koen Bok wrote: > Hello. I am a long time PHP user diving into Python. SQLObject is so > much better than Pear's DB_DataContainer that it is not funny. > > I am experimenting a bit but I have this strange problem. > > Every time I run the script two connections (I have two table objects) > keep sleeping at my mysql server. After running the script 20 times i > get a: > > Operational Error: Too Many Connections Does anyone have an idea about this? Do we have to be more careful about closing connections that we've opened? (I.e., garbage collecting connections isn't good enough) Maybe any opened connections should be closed using atexit. -- Ian Bicking / ia...@co... / http://blog.ianbicking.org |