I enabled log-queries-not-using-indexes
in /etc/my.cnf
I can see now my queries without indexes but the issue is my log is full of queries like this:
SELECT CHARACTER_SET_NAME FROM INFORMATION_SCHEMA.COLLATIONS WHERE COLLATION_NAME = 'utf8_general_ci';
SELECT CHARACTER_SET_NAME FROM INFORMATION_SCHEMA.COLLATIONS WHERE COLLATION_NAME = 'utf8mb4_bin';
I know it's a bad idea to make changes on this database 'information_schema', so how to avoid to have theses queries in my logs?