Hi,
New to replication. Using Mysql 5.5 with semi sync.
Getting this error from slave status:
Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file'
log file name was mysql-bin. I changed the log file to mysql-bin.000001 and it worked for a while. But then I don't get any data from master after slave lost network connection briefly. I checked the master status, the log file was mysql-bin.000002. I changed the master_log_file to mysql.bin.00002 and log_pos and it fixed the error but I don't get any data from master.
1. How to fix this?
2. Is there any way slave can pickup the new log filename as and when master changes?
Help please...
New to replication. Using Mysql 5.5 with semi sync.
Getting this error from slave status:
Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file'
log file name was mysql-bin. I changed the log file to mysql-bin.000001 and it worked for a while. But then I don't get any data from master after slave lost network connection briefly. I checked the master status, the log file was mysql-bin.000002. I changed the master_log_file to mysql.bin.00002 and log_pos and it fixed the error but I don't get any data from master.
1. How to fix this?
2. Is there any way slave can pickup the new log filename as and when master changes?
Help please...