Ignore a database

Just like you can choose to replicate a database, you can ignore a database from replication using REPLICATE_IGNORE_DB:

mysql> CHANGE REPLICATION FILTER REPLICATE_IGNORE_DB = (db1, db2);

Get MySQL 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.