MySQL Forums
Forum List  »  Connector/Python

Re: capturing max concurrent connection limit
Posted by: stefan sonnenberg
Date: January 30, 2007 06:20AM

Perhaps with the OperationalError exception.
You should force the error and see what you get with this:


try:
...
except OperationalError,e:
print "Error occured: %s" % str(e)

Options: ReplyQuote


Subject
Written By
Posted
Re: capturing max concurrent connection limit
January 30, 2007 06:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.