MySQL: “lock wait timeout exceeded”

后端 未结 4 1907
自闭症患者
自闭症患者 2020-12-10 13:50

I am trying to delete several rows from a MySQL 5.0.45 database:

delete from bundle_inclusions;

The client works for a while and then retur

4条回答
  •  隐瞒了意图╮
    2020-12-10 14:09

    Linux: In mysql configuration (/etc/my.cnf or /etc/mysql/my.cnf), insert / edit this line

    innodb_lock_wait_timeout = 50
    

    Increase the value sufficiently (it is in seconds), restart database, perform changes. Then revert the change and restart again.

提交回复
热议问题