How to Avoid Lock wait timeout exceeded exception.?

前端 未结 7 1376
独厮守ぢ
独厮守ぢ 2020-12-09 10:32
    java.sql.SQLException: Lock wait timeout exceeded; try restarting tra
nsaction at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
        at com.m         


        
7条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-09 10:51

    Check if your where clause is optimized.. i.e. using primary key and/or indexes

提交回复
热议问题