Python MySQLdb exceptions
Catch the MySQLdb.Error, while connecting and while executing query
I think that the connections and the query can raised errors so you should have try/excepy for both of them.
Catch the MySQLdb.Error, while connecting and while executing query
I think that the connections and the query can raised errors so you should have try/excepy for both of them.