[EMAIL PROTECTED] wrote:
> 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!

You would be better off executing db.commit() periodically (at the end
of your transaction).

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to