Name

SET SQL_LOG_BIN

Synopsis

SET SQL_LOG_BIN = {0|1}

Use this statement to enable or disable binary logging of SQL statements for the current connection. 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.

SET SQL_LOG_BIN = 0;

Get MySQL in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.