To know every SQL query being executed on your server, you have to:
Here are the commands that address these three issues. You must run them as superuser on your MySQL:
SET GLOBAL general_log = 'ON';
SET GLOBAL log_output = 'TABLE';
select * from mysql.general_log;