Újabb problémával találkoztam M-M témakörben. A hibaüzenet most ez: (show slave status\G; -ból)

Last_Error: Could not parse relay log event entry. The possible reasons are: the master’s binary log is corrupted (you can check this by running ‘mysqlbinlog’ on the binary log), the slave’s relay log is corrupted (you can check this by running ‘mysqlbinlog’ on the relay log), a network problem, or a bug in the master’s or slave’s MySQL code. If you want to check the master’s binary log or slave’s relay log, you will be able to know their names by issuing ‘SHOW SLAVE STATUS’ on this slave.

A fenti problémára (amennyiben a Master oldal rendben van) a következő a megoldás a slave-n:

localhost:(none)> slave stop;
localhost:(none)> slave stop; localhost:(none)> CHANGE master TO master_log_file=Relay_Master_Log_File,master_log_pos=Exec_Master_Log_Pos
localhost:(none)> slave start;

A Relay_Master_Log_File és Exec_Master_Log_Pos paramétereket a show slave status\G; paranccsal kaphatjuk meg. A problémáról további információ itt olvasható.

 

Egy kis illusztráció:

Popularity: 23% [?]

Related posts:

  1. Szétesett Mysql M-M Replikáció Adott egy Master-Master replikáció, és az egyik Masteren leállt a...
  2. Configuration lock  Hi,  Most csak röviden szeretnék írni egy kissebb "problémáról". Egy...
  3. Újra itthon Vissza jöttem Bulgáriából. A nyaralás jól sikerült:) Nehéz vissza szokni...
  4. MySQL Fine-Tune Valahogy finomra kellene hangolni a mysql-t. Több hasznos tool-t is...
  5. Helyesírás ellenőrzés wordpress-el Sajnos nem vagyok a legjobb helyesíró, ezért szükségem van ellenőrzésre...