0

How to enable MySQL Slow Query Log

Hi i want to enable MySQL Slow Query Log, but i don't want to restart my Database Service. How can i do that?

CentOS Database MySQL Add a comment
hobbs
asked Aug 13 2018

Answer

0

To enable MySql Slow query log Enter the MySQL shell and run the following command:

set global slow_query_log = 'ON';

Add a comment
linuxhelp
asked Jan 29 2019
Post your Answer