Quantcast
Channel: MySQL replication: 'Duplicated entry for PRIMARY key' - Database Administrators Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Umair Anwar for MySQL replication: 'Duplicated entry for PRIMARY key'

Check for insert query in code which inserts directly into the slave. We can only read from slave. Write queries should be directed to master.

View Article



Answer by RolandoMySQLDBA for MySQL replication: 'Duplicated entry for...

ASPECT #1 : ReplicationI don't think thatreplicate-wild-do-table = db_backup.%replicate-rewrite-db = db->db_backupbelong together.Other people have wondered about this as wellJun 14, 2012 :...

View Article

MySQL replication: 'Duplicated entry for PRIMARY key'

Could you please help me to understand why I'm receiving 'Duplicated entry for PRIMARY key' on a slave server after a full re-sync.Basically 'mysqldump' was running almost whole night and then the...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images