set autocommit on // 设置为自动提交 set autocommit off // 设置不要自动提交 show autocommit //查看是否是自动提交 客户的session设置和数据库服务器无关