3254
MySQLERRORNotableReplicationHIGH confidence

Replication SQL thread delay option is not supported

Production Risk

Low — command is rejected; replication continues unchanged.

How to reproduce
trigger — this will error
trigger — this will error
CHANGE REPLICATION SOURCE TO SOURCE_DELAY=1800;

expected output

ERROR 3254 (HY000): This operation cannot be performed with a running replication SQL thread.

Fix

Stop SQL thread first

Stop SQL thread first
STOP REPLICA SQL_THREAD; CHANGE REPLICATION SOURCE TO SOURCE_DELAY=1800; START REPLICA SQL_THREAD;

Why this works

Stopping the SQL thread allows the delay configuration to be modified safely.

What not to do

Sources
Official documentation ↗

MySQL 8.0 — 3254 ER_REPLICATION_SLAVE_SQL_THREAD_DELAY

Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev

← All MySQL errors