Syntax\n------\n\nSET [SESSION] sql_log_bin = {0|1}\n\nDescription\n-----------\n\nSets the sql_log_bin system variable, which disables or enables binary logging for the current connection, if the client has the SUPER privilege. The statement is refused with an error if the client does not have that privilege.\n\nNote that setting sql_log_bin=1 has no effect if log_bin variable, which enables global binary logging, is not set.\n\nYou cannot set sql_log_bin as a global variable.\n\nYou can set sql_log_bin as a global variable. This is considered dangerous, though, as it can damage replication.\n\nURL: https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/set-commands/set-sql_log_bin