RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
Couldnotfindfirstlogfilenameinbinarylogindexfile
2015.07.17

今天用脚本做主从切换实验的时候,看到从机上有报错:

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

当时主从的链接是正常的,
             Slave_IO_Running: Yes
            Slave_SQL_Running: Yes
但是主机的日志传过来,从机不能应用。重新
stop slave;
reset slave;
change master to
还是不行。但是网络是好的,又重新change 都行不通啊。然后突然想到昨天再做切换的时候,失败多,导致主机上面的数据没有过来。
发现问题了,就知道怎么做了
重新MySQLdump 备份,然后再从机上面恢复,
再change master to 就ok了! 
正常情况下,重新change to  就可以了,只是我的,呃呃呃。。。。


标题名称:Couldnotfindfirstlogfilenameinbinarylogindexfile
URL网址:http://scyingshan.cn/article/pjepcc.html