Master MySql版本 - 5.6.24-enterprise-commercial-advanced-log MySQL Enterprise Server
Slave MySql版本 - 5.7.15-enterprise-commercial-advanced-log MySQL Enterprise Server
节点之间启用SSL复制: - 主SSL配置 - my.cnf
ssl-ca=/data/mysql_data/ca.pem
ssl-cert=/data/mysql_data/server-cert.pem
ssl-key=/data/mysql_data/server-key.pem
奴隶 - 配置
CHANGE MASTER TO MASTER_HOST='ip_address_host', MASTER_PORT=3306, MASTER_LOG_FILE='mysql-bin.000013', MASTER_LOG_POS= 507,MASTER_USER='repl', MASTER_SSL=1 , MASTER_SSL_CA='/data/server-cert.pem' , MASTER_SSL_CIPHER=' DHE-RSA-AES256-SHA:AES128-SHA'
在从属日志中看到以下错误 -
2017-10-02T17:33:37.348979Z 1 [ERROR]通道''的从站I / O:错误连接到主站'repl@10.10。*。*:3306' - 重试时间:60次重试:1 ,Error_code:2026
答案 0 :(得分:0)
当我们将奴隶降级到与5.6相同的版本时,它可以工作