广告
返回顶部
首页 > 资讯 > 数据库 >Could not find first log file name in binary log index file
  • 147
分享到

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

2024-04-02 19:04:59 147人浏览 泡泡鱼
摘要

2015.07.17<br /> <br /> 今天用脚本做主从切换实验的时候,看到从机上有报错: <h3 style="line-height:35px;white

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 />
您可能感兴趣的文档:

--结束END--

本文标题: Could not find first log file name in binary log index file

本文链接: https://www.lsjlt.com/news/47892.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作