What causes the MySQL error 1062 – duplicate entry when starting slave?
What to try to fix your problem: You should remove master.info on slave first and restart mysql issue CHANGE MASTER TO MASTER_HOST=’XX.XX.XX.XX’, MASTER_USER=’repl’, MASTER_PASSWORD=’slavepass’; do mysqldump with ‘–flush-logs’ option on master ‘mysql -u user -p < dump.sql’ on slave ‘show slave status\G’ on slave to ensure that it is properly configured, MASTER_LOG_POS is 0 ‘start … Read more