Aktivieren Sie log MySQL

# sql
SET GLOBAL general_log_file='/var/log/mysql/file.log';
SET GLOBAL log_output = 'FILE';
SET GLOBAL general_log = 'ON';

# or
# ./etc/mysql/my.cnf
[mariadbd]
general-log=1
general_log_file=file.log
Injury