您的位置:首页 > 数据库 > MySQL

mysql配置主主,删除mysql-bin*.log后报错解决办法

2015-03-17 13:11 330 查看
关于MySQL双主“Got fatal error 1236: ‘Could not find first log file name in binary log index file’ from master when reading data from binary log”

解决方法:

Slave: stop slave;

Master: flush logs;

        Master: show master status; — take note of the master log file and master log position

Slave:CHANGE MASTER TO MASTER_LOG_FILE='mysql-bin.00000*',MASTER_LOG_POS=106;
         Slave: start slave;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: