My Oracle Support Banner

How to Avoid Replicating a Statement to the Slave (Doc ID 1335909.1)

Last updated on MARCH 12, 2021

Applies to:

MySQL Server - Version 5.1 and later
Information in this document applies to any platform.


Learn how to prevent a query executed on the master to replicate to the slave.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Use Replication Filters
 Setting the sql_log_bin Variable
 Use a LOCAL Variant of the Statement

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.