摘要: 个人在5.5上配置成功环境说明:Master:192.168.1.200Slave:192.168.1.132MySQL 的 Master 配置:配置my.cnf:# vi /etc/my.cnf[mysqld]datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sockuser=mysql# Disabling symbolic-links is recommended to prevent assorted security riskssymbolic-links=0server-id=200log-bin=mysql-binrelay-lo 阅读全文
posted @ 2012-07-16 17:53 远哥 阅读(9641) 评论(0) 推荐(1) 编辑
摘要: 本配置方法适用于5.1之后的版本,个人在5.5上配置成功(5.1之前版本请参考另外的配置说明)环境说明:Master:192.168.1.200Slave:192.168.1.210MySQL 的 Master 配置:配置my.ini:[mysqld]# The TCP/IP Port the MySQL Server will listen onport=3306server-id=200log-bin=mysql-binrelay-log=relay-binrelay-log-index=relay-bin-index*配置好后,重启Master 的 MySQL服务!!!//------- 阅读全文
posted @ 2012-07-16 17:53 远哥 阅读(9714) 评论(0) 推荐(3) 编辑