mysql基于binlog主从复制架构,IO、SQL线程运行为YES,从库没有同步数据
Slave_IO_Running: Yes Slave_SQL_Running: Yes Replicate_Do_DB: ht,ht_prod
解决问题:
replicate-do-db = ht,ht_prod
修改为:replicate-do-db = ht
replicate-do-db = ht_prod