mysql> stop slave;mysql> reset slave;重新指定主库信息mysql> change master tomaster_host="主库ip地址",master_user="授权用户",master_log_file="binlog",master_log_pos=偏移量;mysql> start slave;此时查看以下slave状态即恢复正常
MySQL主从同步常见报错的解决办法2
原文:http://blog.51cto.com/13587182/2079677