摘要:
1:主从设置环境说明:Master:192.168.1.102Slave:192.168.1.111MySQL 的 Master 配置:配置my.ini:(一般要管理员权限 可以去cmd下)[mysqld]# The TCP/IP Port the MySQL Server will listen onport=3306server-id=102log-bin=mysql-binrelay-log=relay-binrelay-log-index=relay-bin-index*配置好后,重启Master 的 MySQL服务!!!//------------------------------ 阅读全文