slow_query_log_use_global_control

By default, slow query log settings apply only to new sessions. If you want to configure the slow query log during runtime and apply these settings to existing connections, set the slow_query_log_use_global_control variable to all.

See also

MySQL Documentation
Setting variables

Table Of Contents

Previous topic

log_slow_verbosity

Next topic

Configuring MySQL 8.0 for PMM