MySQL set autocommit = 0或1分别什么啊,哪个是自动提交啊 autocoomit是事务,根据mysql的文档如果等于1是立即提交。但在transction中只有遇到commit或rollback才提交