Du kan prova detta:
- Slav:
stop slave; - Master:
flush logs -
Master:
show master status; — take note of the master log file and master log position -
Slav:
CHANGE MASTER TO MASTER_LOG_FILE='log-bin.00000X', MASTER_LOG_POS=106; - Slav:
start slave;
Du kan prova detta:
stop slave; flush logs
Master:show master status; — take note of the master log file and master log position
Slav:CHANGE MASTER TO MASTER_LOG_FILE='log-bin.00000X', MASTER_LOG_POS=106;
start slave;