Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

On July 17, 2015, when I was doing the master-slave switching experiment with a script, I saw that there was an error on the slave: the master-slave link of Could not find first log file name in binary log index file was normal at that time, Slave_IO_Running: Yes Slave_SQL_Running: Yes, but the log of the host was sent, and the slave could not be applied. Re-stop slave; reset slave; change master to still won't work. But the network is good, and re-change will not work. Then it suddenly occurred to me that when I switched yesterday, there were so many failures that the data on the host did not come over. If you find a problem, you will know how to make a re-mysqldump backup, and then restore it from the machine, and then change master to the ok! Under normal circumstances, re-change to will be fine, but my, uh, uh.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report