摘要: 参数: slow_query_log=1 #开启 slow_query_log_file=/data/mysql/slow.log #慢日志路径 long_query_time=0.1 #设定慢查询时间 log_queryes_not_using_indexes #不走索引的语句也记录 查看日志 m 阅读全文