Mysql deadlock to solve the problem and prevent clogging

# Mysql view the transaction that currently exist, if there is a deadlock, it will record 
the SELECT * from information_schema.innodb_trx;

# delete the current transaction process deadlock.
kill trx_mysql_thread_id

Guess you like

Origin www.cnblogs.com/ywjfx/p/12197563.html