mysql 日志log

my.ini

log-error=D:/phpStudy/PHPTutorial/MySQL/log/error.log
log=D:/phpStudy/PHPTutorial/MySQL/log/mysql.log
long_query_time=2
log-slow-queries=D:/phpStudy/PHPTutorial/MySQL/log/slowquery.log

然而在mysql 10版主中log 无效

通过phpmyadmin 设置变量 general  和 general log 来设置log。

不过在my.ini没找到对应变量。

后续

posted @ 2018-11-15 15:52  ashe666  阅读(142)  评论(0编辑  收藏  举报