时间:2021-07-01 10:21:17 帮助过:12人阅读
mysql> stop slave;
mysql> reset slave;
重新指定主库信息
mysql> change master to
master_host="主库ip地址",
master_user="授权用户",
master_log_file="binlog",
master_log_pos=偏移量;
mysql> start slave;
此时查看以下slave状态即恢复正常
MySQL主从同步常见报错的解决办法2
标签:MySQL ERROR 1872