Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1562

Replicating only a certain database (no replies)

$
0
0
I have set up replication of a remote server to office archive. Now I also have a secondary archive database on remove server and it turned out it is also replicated.
I only want the actual live database to be replicated.

If looking at this tutorial; http://dev.mysql.com/doc/refman/5.6/en/replication-howto-repuser.html , it seems I could have set
GRANT REPLICATION SLAVE ON livedatabase.* TO 'repl'@'%.mydomain.com';
instead of
GRANT REPLICATION SLAVE ON *.* TO 'repl'@'%.mydomain.com';

Is it safe to revoke the privileges and set it again without disturbing the replication as it is?

Viewing all articles
Browse latest Browse all 1562

Trending Articles



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