# see if --replicate-ignore-db works

--source include/not_group_replication_plugin.inc
--source include/not_gtid_enabled.inc
--source include/master-slave.inc

--disable_warnings
drop database if exists mysqltest1;
drop database if exists mysqltest2;
--enable_warnings
create database mysqltest1;
create database mysqltest2;

use mysqltest1;
create table t1 (a int);
insert into t1 values(1);
--source include/sync_slave_sql_with_master.inc
--error 1146
select * from mysqltest1.t1;

connection master;
use mysqltest2;
create table t1 (a int);
insert into t1 values(1);
--source include/sync_slave_sql_with_master.inc
select * from mysqltest2.t1;

# cleanup
connection master;
drop database mysqltest1;
drop database mysqltest2;
--source include/sync_slave_sql_with_master.inc
--source include/rpl_end.inc
