一:首先我的表式InnoDb类型的。。
二:我在my.init设置了init_connect='set autocommit=0'
mysql版本 5.1.32-community MySQL Community Server但是始终不行,不行啊,,高手帮忙,,帮忙啊
二:我在my.init设置了init_connect='set autocommit=0'
mysql版本 5.1.32-community MySQL Community Server但是始终不行,不行啊,,高手帮忙,,帮忙啊
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| autocommit | ON |
+---------------+-------+
1 row in set (0.00 sec)mysql>
设置完之后看看该值
postgresql甚至取消了这个参数,因为它认为事务控制应该由客户端来决定