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 Server 5.7 Documentation Setting variables

Table Of Contents

Previous topic


Next topic

Configuring MySQL 8.0 for PMM