Today my question is about MySQL replication cleanup.
I used mysqldump
with the --master-info --all-databases
tag and restored it to a new host to be used as a replication slave.
After restore, I see some artifacts of slave information from the master. This is the third host in a replication chain.
I issued reset slave for channel 'xxxxx';
which returned Query OK, 0 rows affected (0.00 sec)
. When I later query using show slave status for channel 'xxxxx';
, I still see information for this replication channel appearing.
How can I cleanup this replication channel such that it never accidentally starts, as well as cleanup the output of show slave status \G
to only show the intended replication channel?