Scenario
An error occurred while DTS was migrating full data based on a task that contains full data migration or synchronization. The error log information contains "The MySQL server is running with the --super-read-only option so it cannot execute this statement".
Keywords
--super-read-only
Possible Causes
The storage of the destination database is insufficient, which causes the destination database to be in the read-only state.
Solutions
Run the following command on the destination database to cancel the read-only state for the database:
set global read_only=0
Check whether a process restart occurs due to out of memory (OOM) errors in the destination database. If so, increase the memory of the database.
After the database becomes writable, restart the task.