I'm having trouble with a particular table in my database. I tried to update the table with an update query before and got a “lost connection to mysql server during query” response. Now I cannot do anything with the table, any queries involving the table just hang including trying to drop the table.

I've tried two possible solutions that I found. One was deleting the contents of my sql_workspaces folder. The other was querying with nolock. Neither worked.

有帮助吗?

解决方案

I'm not 100% sure, but it may have been locked when it lost connection in the update sequence.

Try to take a look at SHOW LOCKED TABLES

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top