mysql 开启慢日志查询

在mysql.ini文件最后添加

#慢查询日志
slow_query_log=1
slow_query_log_file=C:/Program Files (x86)/MySQL/MySQL Server 5.5/tmp/mysql_slow.log

然后重启mysql

猜你喜欢

转载自blog.csdn.net/u011477914/article/details/83443987