2017/11/29 00:51:11 WARN Check 'rep_threads' on 'Slave1' is in unknown state! Message: UNKNOWN: Connect error (host = 192.168.10.56:3306, user = monitor)! Host '192.168.10.58' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
mysql中默认的connect_errors是10,由于网络中断,造成这个数值高于10,当在访问的时候就被锁住了,可能是为了防止恶意入侵吧,才有这个机制。
使用下面的命令处理 解决
mysqladmin -uroot -p flush-hosts