++++++++++++++++++++++++在master上处理++++++++++++++++#1配置文件中添加并保证唯一server-id=1log-bin=/var/lib/mysql/mysql-bin#2重启/etc/init.d/mysqldrestart#3建立用于同步的账号repgrantreplicationslaveon*.*to‘rep‘@‘192.168.11.%‘identifiedby‘123456‘;flushprivil..
分类:
数据库 时间:
2017-01-18 23:49:29
阅读次数:
368