Oct
04
2008
[ERROR] Could not use /var/log/mysql-err.log for logging (error 13)
Posted by: alex in Errors081004 2:35:11 [ERROR] Could not use /var/log/mysql-err.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.
The above error displayed in the mysqld.log file fter adding the below line to /etc/my.cnf under [mysqld].
log=/var/log/mysql.log
Before restarting mysql I created the file and applied the proper permissions by entering the commands below from the console.
Tags: chmod, chown, conf, error, logs, my.cnf, mysql, mysqld, selinux, Touch














Entries (RSS)