查看mysql当前存在的事务,如果存在死锁,则会记录 select * from information_schema.innodb_trx;
删除当前事务的死锁进程 kill trx_mysql_thread_id