MySQL Forums
Forum List  »  Connector/Python

Re: mysql python doesnt work?
Posted by: Andy Dustman
Date: February 28, 2007 05:06PM

While that will work, you should use:

from MySQLdb import OperationError

or

except connection.OperationalError:

Options: ReplyQuote


Subject
Written By
Posted
October 19, 2006 08:37PM
December 08, 2006 01:13PM
Re: mysql python doesnt work?
February 28, 2007 05:06PM


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.