- 论坛徽章:
- 0
|
版本:Server version: 5.0.67-log Source distribution
我在/etc/my.cnf的[mysqld]里面指定了
log_slow_queries = /opt/yjsword/mysql/log/mysql_slow_query.txt
long_query_time = 1 |
每次启动mysql日志里都会出现:
/opt/yjsword/mysql/libexec/mysqld: File '/var/log/mysql_slow_query.log' not found (Errcode: 13)
090326 11:20:55 [ERROR] Could not use /var/log/mysql_slow_query.log for logging (error 13). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it. |
检查了datadir里没有my.cnf,mysqld应该使用的就是/etc/my.cnf这个全局配置了(因为其他配置都能生效),请教这个“/var/log/mysql_slow_query.log”是从哪读到的? |
|