MYSQL 复制配置步骤
一、配置主数据库服务器 (本地镜像服务器) 1、修改 /etc/my.cnf文件,添加如下内容:
server-id=1# Enable binary logging. This is required for acting as a MASTER in a# replication configuration. You also need the binary log if you need# the ability to do point in time recovery from your latest backup. log-bin=mysql-bin
# binary loggin ...