在my.ini添加如下代码,即可查看那个sql语句执行慢了
log-slow-queries = d:/log/mysql-slow.loglong_query_time = 1
打开日志
log = "d:/log/log.log"打开错误日志log-error= "d:/log/mysql-error.log"
查看当前进程列表,用处不大哦
show processlist