MySQL会话级别禁止产生binlog的参数 sql_log_bin SET sql_log_bin = {0|1} 官网地址 https://dev.mysql.com/doc/refman/8.0/en/set-sql-log-bin.html