Mysql 复制停止且没有错误
Mysql 5.1 复制停止,没有错误消息
"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:
Master 上的最后一个 binlog 是 mysql-bin.000365
我应该做什么和阅读来解决这个问题?
Mysql 5.1 Replication stops without error message
"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:
Last binlog on master is mysql-bin.000365
What should I do and read to solve this trouble?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要重新配置 MySQL Slave,因为您的从服务器显示
Master_Log_File: mysql-bin.000366
,但您说您的 Master 位于mysql-bin.000365
。这就是为什么你的从站无法与主站同步的原因。要重新配置从站,请按照此处进行设置You need to re-configure MySQL Slave because your slave is showing
Master_Log_File: mysql-bin.000366
however you are saying that your Master is atmysql-bin.000365
. That's why your slave is unable to sync from Master. To re-configure Slave follow these setps here