2010-12-13 9 views
3

のMysql 5.1レプリケーションは、マスタ上のエラーメッセージMySQLのレプリケーションがエラーなしで停止し

"SHOW SLAVE STATUS\G" 
> *************************** 1. row *************************** 
>    Slave_IO_State: Waiting for master to send event 
>     Master_Host: xxx 
>     Master_User: repl 
>     Master_Port: 3306 
>     Connect_Retry: 60 
>    Master_Log_File: mysql-bin.000366 
>   Read_Master_Log_Pos: 6491726 
>    Relay_Log_File: mysql-relay-bin.000003 
>     Relay_Log_Pos: 75183691 
>   Relay_Master_Log_File: mysql-bin.000351 
>    Slave_IO_Running: Yes 
>    Slave_SQL_Running: Yes 
>    Replicate_Do_DB: xxx 
>   Replicate_Ignore_DB: 
>   Replicate_Do_Table: 
>  Replicate_Ignore_Table: 
>  Replicate_Wild_Do_Table:  
> Replicate_Wild_Ignore_Table: 
>     Last_Errno: 0 
>     Last_Error: 
>     Skip_Counter: 0 
>   Exec_Master_Log_Pos: 75698643 
>    Relay_Log_Space: 1624786550 
>    Until_Condition: None 
>    Until_Log_File: 
>     Until_Log_Pos: 0 
>   Master_SSL_Allowed: No 
>   Master_SSL_CA_File: 
>   Master_SSL_CA_Path: 
>    Master_SSL_Cert: 
>    Master_SSL_Cipher: 
>    Master_SSL_Key: 
>   Seconds_Behind_Master: 6222 
> Master_SSL_Verify_Server_Cert: No 
>     Last_IO_Errno: 0 
>     Last_IO_Error: 
>    Last_SQL_Errno: 0 
>    Last_SQL_Error: 

最終ビンログせずに停止し、私は何をして、このトラブルを解決するために読まなければならないのmysql-bin.000365

のですか?

+0

'Slave_IO_Running:Yes'と' Slave_SQL_Running:Yes'の両方で、レプリケーションが実行されていないと思いますか? – Danosaure

+0

スレーブとマスターの間でログビンが異なるので、スレーブを再構成してデータをマスターから再ロードする必要があります。おそらく**マスターはこれ以上マスターに追いつくことができません。 – ajreal

+0

Seconds_Behind_Master:6222値が大きかった - マスターとRelay_Master_Log_Fileから52時間:mysql-bin.000351は最後のbinlogではありません/最後は000666です。 – user274101

答えて

0

スレーブがMaster_Log_File: mysql-bin.000366を表示しているので、MySQLスレーブを再設定する必要がありますが、マスターがmysql-bin.000365であると言います。あなたのスレーブはマスターから同期できません。スレーブを再構成するには、これらのsetpsに従いますhere

関連する問題