Mysql: enable error log in my.cnf in Linux
by rajesh[ Edit ] 2012-06-14 09:59:47
You can enable mysql error log and set the log file by add the following entry in my.cnf
log-error=/val/log/mysql-error.log
Adding the above line in /etc/my.cnf and restarting mysql will log all mysql errors to /val/log/mysql-error.log