You can launch a script named /usr/local/aws/bin/mysql-init.sh in a
shell on the slave instance - it will reset replication.
Another way is to terminate the slave instance. The newly started
instance will initialize replication from scratch.

On Jan 31, 2:17 am, kevbaker <[email protected]> wrote:
> We specified the slave for a couple inserts by mistake, so now have a
> dirty slave with replication failing....
>
> All kinds of "SHOW SLAVE STATUS" --> "Error 'Duplicate entry" issues.
>
> What would be the best way to reset the slave for replication? I can
> just set it up again, but thought there might be an easier way, like
> maybe terminating the instance or something...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to