I have a database which used to be setup as a master in a topology. Now I want to remove it as master, and make it a replica. How do I do this?
Is there something similar to how to stop slave but for master? For slaves I could do:
STOP SLAVE; RESET SLAVE ALL;
I have tried
STOP MASTER; and
RESET SLAVE MASTER; but those does not exist.
What would the corresponding commands be for master?