[Zope] Close Database Connection /Newbie Question

Dieter Maurer dieter@handshake.de
Thu, 9 May 2002 20:39:30 +0200


Philipp Giere writes:
 > ...
 > db = self.ZMySQL_Connection()
 > With db.query("SQL") i send requests to the database.
 > 
 > It works fine.
 > But after a while I get an error "too many connections". Seems logical
 > for me, because I don't close the connection. But how do I close it?
 > Something like db.close() doesn't work. 
Why not? What happens?

It should work...


Dieter