How do I find which transaction is causing a “Waiting for table metadata lock” state?

前端 未结 4 754
暖寄归人
暖寄归人 2020-11-29 14:54

I am trying to perform some DDL on a table and SHOW PROCESSLIST results in a \" Waiting for table metadata lock \" message.

How can I find out which tra

4条回答
  •  没有蜡笔的小新
    2020-11-29 15:25

    I had a similar issue with Datagrip and none of these solutions worked.

    Once I restarted the Datagrip Client it was no longer an issue and I could drop tables again.

提交回复
热议问题