mysql主从复制
- - SQL - 编程语言 - ITeye博客从库的配置,mysql5.5不支持配置文件的配置了,问了数据库的人,用命令行指定. 修改从库的配置
#default-storage-engine = InnoDB
#修改
default-storage-engine = blackhole
server-id = 11215004
#新增
replicate-do-db = test
log-bin = mysql-bin
#新增
binlog_format = row.