Categories


Browse by



All Tags 6

Dynamically turning on and off MySQL general query log

  • Aug 2 '11
  • Posted By: Jean-Philippe Blais

From the MySQL command line client (or your prefered client), with a user that has privilige to do this command.

To turn it on:

mysql> set global general_log = 1;

To turn it off:

mysql> set global general_log = 0;

Conçu avec Apostrophe CMS
Propulsé par et