mysql> set sql_log=0
-> ;
ERROR 1193 (HY000): Unknown system variable 'sql_log'
出现上方错误
如果改成 set log-bin=0 出现下方错误
mysql> set log-bin=0
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-bin=0' at line 1