Skip to content
RED SAG Skills
hardStudy question · answer published in MySQL interview questions, so no pointstransactionsmysqltable-locks

An idle MySQL session blocks ALTER

A tool connects to MySQL with autocommit = 0, runs one SELECT on orders and sits idle. Later ALTER TABLE orders hangs with "Waiting for table metadata lock". Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions