这篇文章将为大家详细讲解有关MySQL 5.7复制报错Client requested master to start replication from impossible怎么办,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
创新互联公司-专业网站定制、快速模板网站建设、高性价比长安网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式长安网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖长安地区。费用合理售后完善,10余年实体公司更值得信赖。
错误日志中的信息
2017-12-12T07:41:47.070228Z 57896 [ERROR] Error reading packet from server for channel 'master_4': Client requested master to start replication from impossible position; the first event 'mysql-bin.000003' at 31342251, the last event read from '/data/db_log/mysql-bin.000003' at 4, the last byte read from '/data/db_log/mysql-bin.000003' at 4. (server_errno=1236)
2017-12-12T07:41:47.077618Z 57896 [ERROR] Slave I/O for channel 'master_4': Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from impossible position; the first event 'mysql-bin.000003' at 31342251, the last event read from '/data/db_log/mysql-bin.000003' at 4, the last byte read from '/data/db_log/mysql-bin.000003' at 4.', Error_code: 1236
报错原因
执行 change master 语句时,里面的 master_log_file 写的不正确
解决方法
在 change master 语句里,写上正确的 master_log_file
关于“MySQL 5.7复制报错Client requested master to start replication from impossible怎么办”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。
文章题目:MySQL5.7复制报错Clientrequestedmastertostartreplicationfromimpossible怎么办
标题网址:https://www.cdcxhl.com/article6/jehhog.html
成都网站建设公司_创新互联,为您提供企业网站制作、企业建站、外贸网站建设、网站建设、自适应网站、全网营销推广
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联