'127.0.0.1' (99)") '''
Does anybody know how to solve this issue?
Off hand, I suspect you've run out of unused TCP sockets. Each connect results in your task allocating a port, and possibly MySQL allocating a fresh socket to handle the connection that it finds on its assigned port.
That was it. Also changing '127.0.0.1' to 'localhost' solves the problem.
Thanks.
Fedor -- http://mail.python.org/mailman/listinfo/python-list