About Changing MySQL Global Variables

You can change MySQL global variables in real time without restarting the MySQL server. Just connect via the mysql client as root and run something like:

1
SET GLOBAL slow_query_log=1;

Databases MySQL