根据 mysql 文档,此标志可以动态更改。
Property Value
Command-Line Format --general-log
System Variable general_log
Scope Global
Dynamic Yes
SET_VAR Hint Applies No
Type Boolean
Default Value OFF
但默认情况下,此选项被禁用。但我需要启用此标志才能在不重新启动服务器的情况下查看日志。在不重新启动服务器的情况下启用此功能的方法是什么。