mysql日志

[mysqld]
port=3306

log-error="d:/wamp/logs/mysql_error.log"
log="d:/wamp/logs/mysql_zdy.log"
long_query_time=2

log-slow-queries= "d:/wamp/logs/slowquery.log"

通过文件mysql_zdy.log可以查看到所有操作数据库的mysql语句


你可能感兴趣的:(mysql日志)