In sqlalchemy, I make the connection:
conn = engine.connect()
I found this will set autocommit = 0 in my mysqld log. Now I want to set autocom
What is your dialect for mysql connection?
You can set the autocommit to True to solve the problem, like this mysql+mysqldb://user:password@host:port/db?charset=foo&autocommit=true
autocommit
True
mysql+mysqldb://user:password@host:port/db?charset=foo&autocommit=true