我只想在相同的机器和同一个mysql实例上将数据库复制到另一个数据库。 可能吗..?? 我已经尝试但没有全部工作
server-id = 1
report_host = master-is-slave-host
log_bin = /var/log/mysqld/mysql-bin.log
relay_log = /var/log/mysqld/relay-bin
replicate-same-server-id = 1
binlog_do_db = replication_1
replicate_rewrite_db = replication_1->replication_2
replicate_do_table = replication_1.table1
replicate_do_table = replication_2.table2