SET sql_log_bin = {0|1}
The sql_log_bin variable
controls whether logging to the binary log is done. The default
value is 1 (do logging). To change logging for the current
session, change the session value of this variable. The session
user must have the SUPER
privilege to set this variable.
Beginning with MySQL 5.5.5, it is no longer possible to set
@@session.sql_log_bin within a transaction or
subquery. (Bug #53437)

User Comments
Add your own comment.