3113
MySQLERRORNotableServer AdministrationHIGH confidence
Clone operation blocked by concurrent DDL
Production Risk
Medium — CLONE fails but the server and its data are unaffected.
What this means
A CLONE operation cannot proceed because a DDL statement is currently in progress on the server.
Why it happens
- 1Running CLONE LOCAL or CLONE INSTANCE while a DDL statement (ALTER TABLE, CREATE INDEX, etc.) is executing concurrently.
How to reproduce
trigger — this will error
trigger — this will error
CLONE LOCAL DATA DIRECTORY '/tmp/mysql_clone'; -- while ALTER TABLE is running
expected output
ERROR 3113 (HY000): DDL in progress. Cannot clone now.
Fix
Wait for DDL operations to complete, then retry the CLONE
Wait for DDL operations to complete, then retry the CLONE
-- Monitor with: SHOW PROCESSLIST; -- Retry CLONE after DDL completes
Why this works
CLONE requires a stable state; waiting for DDL ensures consistency.
What not to do
✕
Sources
Official documentation ↗
MySQL 8.0 — 3113 ER_CLONE_DDL_IN_PROGRESS2
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev