11-24-2020 12:45 AM
I need to enable the general query log in my.cnf and when I add this:
general_log = 1
log_output = FILE
general_log_file = /var/log/mysql/query.log
It causes an error and mysql doesn't restart. I tried writing it in a thousand different ways and looking up on the documentation and tried with "-" instead of underscores, tried not typing "log_output" and not specifying a file...
I'm on xubuntu 20.04 if that matters, from what I understand, I shouldn't need to add anything to apparmor right? I'm out of ideas