Could not find first log file name in binary log index file

发布时间:2020-08-10 19:01:05 作者:urgel_babay
来源:ITPUB博客 阅读:199
2015.07.17<br /> <br /> 今天用脚本做主从切换实验的时候,看到从机上有报错: <h3 style="line-height:35px;white-space:normal;margin:0px 0px 10px;padding:0px;font-size:20px;font-family:tahoma, helvetica, 'microsoft yahei', arial;color:#3A3A3A;font-weight:normal;background-color:#FFFFFF;"> Could not find first log file name in binary log index file<span style="font-family:'sans serif', tahoma, verdana, helvetica;font-size:12px;line-height:1.5;"></span> </h3> 当时主从的链接是正常的,<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Slave_IO_Running: Yes<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Slave_SQL_Running: Yes<br /> <span style="white-space:normal;">但是主机的日志传过来,从机不能应用。重新<br /> stop slave;<br /> reset slave;<br /> change master to <br /> 还是不行。但是网络是好的,又重新change 都行不通啊。然后突然想到昨天再做切换的时候,失败多,导致主机上面的数据没有过来。<br /> 发现问题了,就知道怎么做了<br /> 重新mysqldump 备份,然后再从机上面恢复,<br /> 再change master to 就ok了!&nbsp;<br /> 正常情况下,重新change to &nbsp;就可以了,只是我的,呃呃呃。。。。</span><br />
推荐阅读:
  1. file could not be downloaded:
  2. could not read block 0 in file "base/16389/17624"

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

could binary find

上一篇:江苏南京上网行为管理

下一篇:2020版千锋HTML5大前端全套学习视频1000集限时领

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》