最近有几个延时从库遇到以下报错:
Fatal error: The slave I/O thread stops because a fatal error is encountered when it tries to get the value of SERVER_UUID variable from master.
详细的从库信息如下:
*************************** 1. row ***************************
Slave_IO_State:
Master_Host: 192.168.xx.xx
Master_User: xx
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.002117
Read_Master_Log_Pos: 71012880
Relay_Log_File: mysql-relay-bin.000288
Relay_Log_Pos: 114227959
Relay_Master_Log_File: mysql-bin.002112
Slave_IO_Running: No
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB: mysql,information_schema,performance_schema
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:

博客内容讲述了在MySQL主从复制中遇到的一个问题,从库在遇到网络超时导致IO THREAD异常停止后,并未自动重连。尽管系统配置了重连间隔和超时时间,但从库在超过24小时后仍未尝试重连,通过执行特定命令才恢复复制。目前原因尚未明确,解决办法是手动执行命令。
最低0.47元/天 解锁文章
2918

被折叠的 条评论
为什么被折叠?



