本帖最后由 jett2008 于 2010-08-17 09:03:08 编辑

解决方案 »

  1.   

    show variables like '%autocommit%';
      

  2.   

    可能是
    你程序问题,没有及时commit
    或将jdbc中的autocommit设为on
      

  3.   

    检查一下你的设置,应该是没有你的事务。
    mysql> show variables like 'autocommit';
    +---------------+-------+
    | Variable_name | Value |
    +---------------+-------+
    | autocommit    | ON    |
    +---------------+-------+
    1 row in set (0.00 sec)mysql>