#mysql手动操作sql事务管理
start transaction;#开启事务
#要执行的sql
delete from table where id=x
#事务提交
#commit;
#回滚操作
rollback;