This MySQL statement enables or disables binary logging of SQL statements for the current connection.
hits past month: 15 ; last updated: may 4, 2009 - 2:34am ; parent: MySQL ReplicationSET SQL_LOG_BIN = {0|1}
This MySQL statement enables or disables binary logging of statements for the current connection to MySQL. It does not affect logging for the activities of other threads and is reset to the default value when the connection is closed. This statement requires SUPER privileges. A value of 0 disables binary logging; 1 enables it.
Below is an example of this MySQL statement:
SET SQL_LOG_BIN = 0;
This statement is generally used with conjunction with replication.