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