-- Generated by Chef for <%= node["hostname"] %>.
-- Local modifications will be overwritten.

GRANT REPLICATION SLAVE ON *.* TO '<%=node["percona"]["server"]["replication"]["username"]%>'@'%'
      IDENTIFIED BY '<%= @replication_password %>';
FLUSH PRIVILEGES;
STOP SLAVE;
RESET SLAVE;

-- Generated by Chef for <%= node["hostname"] %>.
-- Local modifications will be overwritten.

GRANT REPLICATION SLAVE ON *.* TO '<%=node["percona"]["server"]["replication"]["username"]%>'@'%'
      IDENTIFIED BY '<%= @replication_password %>';
FLUSH PRIVILEGES;

Fix template to support master-master replication
Fix template to support master-master replication
