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

Duplicate delete query in binary log of MySQL Master

$
0
0

We are facing a strange problem, while replicating data from master to slave. Same data is being deleted twice in log (however, only one row is deleted and one time), due to which we are getting error while replicating:

# at 28651234
#150423 12:21:03 server id 5170  end_log_pos 28651303 CRC32 0x0b496431  Delete_rows: table id 73 flags: STMT_END_F
### DELETE FROM `oauth`.`AccessToken_scopes`
### WHERE
###   @1=1040103520
###   @2='wallet'
### DELETE FROM `oauth`.`AccessToken_scopes`
### WHERE
###   @1=1040103520
###   @2='wallet'

To avoid this,we currently have added below parameter in my.cnf file:

slave-skip-errors

Viewing all articles
Browse latest Browse all 17268

Trending Articles



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