如果只是对一个数据库设置,其实没有效果的,其他数据还是会记录binlog的

binlog-ignore-db =database b  binlog日志里面将不会记录database b的所有相关的操作