Quantcast
Viewing all articles
Browse latest Browse all 18770

Need to Replicate to a Database with a Different Name?

This is the first time this has happened to me, so I got excited about it until I noticed that this command has been with us from nearly the very beginning (ie MySQL 4). The Situation Master Server contains db1 Slave Server contains db1 and db2 Slave Server needs db1 from the Master to replicate to db2 The Solution On my.cnf on the slave server: --replicate-rewrite-db=from_name->to_name Thus,
PlanetMySQL Voting: Vote UP / Vote DOWN

Viewing all articles
Browse latest Browse all 18770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>