[mysqld]
long_query_time=1
log-slow-queries=/var/log/mysql/log-slow-queries.log
You must create the file manually and change owners this way:
mkdir /var/log/mysql
touch /var/log/mysql/log-slow-queries.log
chown mysql.mysql -R /var/log/mysql
监控mysql数据
最新推荐文章于 2025-11-24 15:52:13 发布
1244

被折叠的 条评论
为什么被折叠?



