您所在的位置:
首页 > linux下建立mysql镜像数据库 > 信息评论 >
linux下建立mysql镜像数据库
MySQL 版本:4.1环境介绍:主库 192.168.0.205 从库 192.168.0.206 1、主库创建/etc/my.cnf,修改[mysqld]里边的键值增加 server-id=1 log-bin=binlog_name 2、主库增加用户,用于从库读取主库日志。 grant replication slave,reload,super on *.* to ’slave
网友评论