Turn on mysql autocommit.

Though I am using the db in read only mode without autocommit all reads
end up reading at the same snapshot as the original.