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

Contact Us

For free technical help, visit the Percona Community Forum.
To report bugs or submit feature requests, open a JIRA ticket.
For paid support and managed or professional services, contact Percona Sales.