I have got the error Lock wait timeout exceeded; try restarting transaction. What are the reasons for this and how to solve the problem? FYI: innodb_lock_wait_timeout = 100 in MySQL config file.
I have got the error Lock wait timeout exceeded; try restarting transaction . What
Share
This is problem of lock contention, which ultimately result in a time-out on one of the lock. Here are a few suggestions:
insertorupdate, some database lock the whole referenced table if there is no such index (don’t know if this is the case of MySQL)