Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Mysql replication broken

$
0
0

I added a new replication user to my slave db and accidently spesified the master_host in the change master statement (without specifying the log file and pos). However, its the same master as before. The replication is now broken with duplicate key errors. What is the best way to deal with this situation? Its urgent, thank you very much

UPDATE I just let it run as it is, telling the slave to ignore the primary key errors and it seemed to work(replication is currently running), but have i lost any data by doing that? Can i still consider the replication consistent?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>