• Lixun Peng's avatar
    Makeing rpl_filter for each Master_info. · 82eedf4e
    Lixun Peng authored
    Users can set different repplication filter rules for each replication connection, in my.cnf or command line.
    But the rules set online will not record in master.info, it means if users restart MySQL, these rules will lose.
    So if users wantn't their replication filter rules lose, they should write the rules in my.cnf.
    
    Users can set rules by 2 ways:
    1. Online SET command, "SET connection_name.replication_filter_settings = rules;".
    2. In my.cnf, "connection_name.replication_filter_settings = rules".
    
    If no connection_name in my.cnf, this rule will apply for ALL replication connection.
    If no connetion_name in SET statement, this rull will apply for default_connection_name.
    82eedf4e
keycaches.h 1.96 KB