[问题二] 有一个集群(MySQL5.7.23)切换后复制slave报1236,其实是不小心在slave上执行了事务导致 Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containin…
环境准备 IP HOSTNAME SERVICE SYSTEM 192.168.131.129 mysql-master1 mysql CentOS7.6 192.168.131.130 mysql-slave1 mysql CentOS7.6 192.168.131.131 mysql-slave2 mysql CentOS7.6 [root@localhost ~]# sestatus SELinux status: disabled [root@localhost ~]# systemct…