I received this - lock wait timeout exceeded try restarting transaction - what should I do now?
If lock wait timeout exceeds try restarting transaction, You can set variable innodb_lock_wait_timeout=100 for lock time to 100 sec. mysql> set innodb_lock_wait_timeout=100; Query OK, 0 rows affected (0.02 sec) mysql> show variables like 'innodb_lock_wait_timeout'; +--------------------------+-------+ | Variable_name…
Answered Oct 3, 2022 · 178 Views Read answer →