Python & MySQL

jason.massey at gmail.com jason.massey at gmail.com
Tue Apr 5 10:47:23 EDT 2005


Okay,

I had the brilliant idea right after posting to google the newsgroups
on this.

db = MySQLdb.connect(user=database_user,passwd=database_password)

db.autocommit(True)   <--- One little line!


There ya go.  Works like a champ.  I swear I was pulling my hair out
yesterday over this.




More information about the Python-list mailing list