Security Researcher, Entrepreneur, Senior Linux Admin

1 Şubat 2016 Pazartesi

Mysql Sorgu İzleme

SHOW VARIABLES LIKE "general_log%";

+------------------+----------------------------+
| Variable_name    | Value                      |
+------------------+----------------------------+
| general_log      | OFF                        |
| general_log_file | /var/run/mysqld/mysqld.log |
+------------------+----------------------------+

SET GLOBAL general_log = 'ON';
 
 
kapatmak için
 
mysql> SET GLOBAL general_log = 'OFF';
  

0 yorum:

Yorum Gönder

Etiketler