rhel6下,mysql 5.6.14 主(master)从(slave)复制(也称mysql AB
一、mysql主(称master)从(称slave)复制的原理:(1).master将数据改变记录到二进制日志(binarylog)中,也即是配置文件log-bin指定的文件(这些记录叫做二进制日志事件,binarylogevents)(2).slave将master的binarylogevents拷贝到它的中继日志(relaylog)(3).slave重做中继日志中的事件,将改变反映它自己的数据