MySQL : Too many connections

Thomas Weholt 2002 at weholt.org
Thu Mar 13 09:06:56 EST 2003


I get an exception using MySQL, "Too many connections". I understand the
error and why it occurrs, but how can I avoid it?? Do I close after each
cursor.execute-call or do I close the connection?? In case of closing after
the execute-call, how ??

What is the proper way of inserting a lot of records and during this process
check rows allready inserted and avoid the problem above?

Thankfull for any hint or tip.

Thomas






More information about the Python-list mailing list