rm. I recreated it using the
touch command but it seems like mysql cannot find it. I tried
SET GLOBAL general_log = 1; and I got the following error. I can't find any information on the right way to recreate
ERROR 29 (HY000): File '/var/log/mysql/mysql.log' not found (Errcode: 13)
I resolved it. I removed the log file again and ran
SET GLOBAL general_log = 1;
MySQL recreated the log file.
It seems that I was wrong. I deleted the file again and ran that command and nothing happened. I guess there is an automated process in the background which creates the file again?