当前位置:网站首页>MYSQL_ ERRNO : 1205 MESSAGE :Lock wait timeout exceeded; try restarting transacti

MYSQL_ ERRNO : 1205 MESSAGE :Lock wait timeout exceeded; try restarting transacti

2022-06-22 17:12:00 Seven days at night

Abnormal execution of stored procedure failed ;error_msg:[SQLSTATE : HY000] [MYSQL_ERRNO : 1205] MESSAGE : Lock wait timeout exceeded; try restarting transactionAt add_num :24

 

 

Stored procedure execution , It may be because the transaction was not committed , Cause the lock to wait . Cause a deadlock .

hold mysql Lock the waiting process kill 了 .

In the stored procedure , Write down the business . Commit transaction

原网站

版权声明
本文为[Seven days at night]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206221522489789.html