mysql

ID #1268

Error reading packet from server: Client requested master to start replication from impossible position ( server_errno=1236)


according to:
Client asks master to start replication from impossible position
MySQL replication dies with fatal error 1236: Client requested master to start replication from impossible position

usually caused by crashed master - it lost binlog cache from memory and started new binlog file

1) inspect situation
- sql command "START SLAVE" returns no error
- sql command "SHOW SLAVE STATUS" shows "Read_Master_Log_Pos" bigger than master binlog filesize (located on MASTER) - eg. mysql-bin.001468

2) check next binlog file (on MASTER)
SHOW BINLOG EVENTS in 'mysqld-bin.001469' from 0 LIMIT 10;

3) start SLAVE from next binlog
slave stop;
CHANGE MASTER TO MASTER_LOG_FILE='mysqld-bin.001469', MASTER_LOG_POS=4;
slave start;

Tagy: -

Související záznamy:

Aktualizováno: 2011-05-04 10:53
Autor: : Daniel Čáslavka
Verze: 1.2

Digg it! Share on Facebook Vytisknout tento dotaz Poslat příteli Zobrazit jako PDF soubor
Navrhněte překlad tohoto záznamu do Navrhněte překlad tohoto záznamu do
Můžete ohodnotit tuto odpověď:

Průměrné hodnocení: 0 (0 Votes)

naprosto nepoužitelná 1 2 3 4 5 velmi užitečná

Můžete přidat komentář k odpovědi