Getting error condition from MySQLdb
Derek Fountain
nomail at hursley.ibm.com
Mon Nov 3 01:37:17 EST 2003
More information about the Python-list mailing list
Mon Nov 3 01:37:17 EST 2003
- Previous message (by thread): Experienced programmer evaluating Python
- Next message (by thread): Getting error condition from MySQLdb
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I was trying to use MySQLdb to connect to a database. All is OK, except I can't figure out how to get the details of an error. Suppose I try to connect to a non existant server, or with the wrong password - how do I get a meaningful error message which I can present to my user?
- Previous message (by thread): Experienced programmer evaluating Python
- Next message (by thread): Getting error condition from MySQLdb
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list