Mysql: enable error log in my.cnf in Linux

by rajesh 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

Tagged in:

882
like
0
dislike
0
mail
flag

You must LOGIN to add comments