# replication filter for multi master

**URL:** <https://forums.percona.com/t/replication-filter-for-multi-master/7079>\
**Category:** Percona Server for MySQL 5.7\
**Created:** [June 26, 2019, 8:33am UTC](https://forums.percona.com/t/replication-filter-for-multi-master/7079 "2019-06-26T08:33:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Titaev](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@Alexander\_Titaev](https://forums.percona.com/u/Alexander_Titaev)\
**Post date:** [June 26, 2019, 8:33am UTC](https://forums.percona.com/t/replication-filter-for-multi-master/7079/1 "2019-06-26T08:33:13Z")

</div>

centos 7  
Percona-Server-server-57-5.7.26-29.1.el7.x86\_64

mysql\> CHANGE REPLICATION FILTER replicate\_do\_db=(invisible\_coffee) FOR CHANNEL ‘master2’;  
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘FOR CHANNEL ‘master2’’ at line 1  
mysql\>

tell me please where I wrong?

---

<div class="post-metadata">

**Author:** ![antoineD](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@antoineD](https://forums.percona.com/u/antoineD)\
**Post date:** [July 15, 2019, 5:59am UTC](https://forums.percona.com/t/replication-filter-for-multi-master/7079/2 "2019-07-15T05:59:17Z")

</div>

Hi,

The “FOR CHANNEL” clause is not available in Percona5.7 (it has been added in MySQL8.0).
