您好,欢迎访问一九零五行业门户网

mysql配置查询配置_MySQL

命令行登入.
#开启慢查询
mysql>show variables like '%long%';
mysql>set global long_query_time=2;
mysql>show variables like '%slow%';
slow_query_log    off    #if  slow_query_log is off
mysql>set global show_query_log='on';
slow_query_log    on
参考:linux下开启mysql慢查询,分析查询语句
其它类似信息

推荐信息