MySQL主从复制与主主复制 https://www.cnblogs.com/phpstudy2015-6/p/6706465.html https://www.cnblogs.com/phpstudy2015-6/p/6485819.html