Lock wait timeout exceeded; try restarting transaction
liunx中在执行for update的时候出现的错误;
Lock wait timeout exceeded; try restarting transaction
主要原因:有一个事物没有提交,另外一个线程就开始启动了
解决方案就是:把事物提交一下
liunx中在执行for update的时候出现的错误;
Lock wait timeout exceeded; try restarting transaction
主要原因:有一个事物没有提交,另外一个线程就开始启动了
解决方案就是:把事物提交一下