mysql 事務未提交致使鎖等待如何解決

查看當前鏈接Id(線程Id) select connection_id();線程   能夠經過查看錶information_schema.innodb_lock,獲取鎖的狀態 select * from information_schema.innodb_locks;code   查看系統參數鎖超時時間 innodb_lock_wait_timeout show variables like in
相關文章
相關標籤/搜索