【抓小鬼】MYSQL 侦测慢查询setup

For windows, go to "my.ini" and add:

[mysqld]

log-slow-queries=G:\wamp2\logs\mysql_slow.log

long_query_time=1  #  any query costing more than 1 sec

-----------

restart mysql service

----------


你可能感兴趣的:(【抓小鬼】MYSQL 侦测慢查询setup)