MySQL global Log

MySQL global Log
mysql> show variables like "%general_log%";
+------------------+------------------------------------+
| Variable_name    | Value                              |
+------------------+------------------------------------+
| general_log      | ON                                 |
| general_log_file | /usr/local/var/mysql/CliffyCat.log |
+------------------+------------------------------------+
2 rows in set (0.00 sec)

mysql> SET GLOBAL general_log = ON;
Query OK, 0 rows affected (0.00 sec)

mysql> 
MySQL global Log
MySQL global Log
tail -f /usr/local/var/mysql/CliffyCat.log
MySQL global Log

MySQL global Log

上一篇:分30条依次解析xml并插入数据库成功


下一篇:微軟将从 .NET 4 以后的版本弃用 System.Data.OracleClient 以及Oracle 的各种连接方法