When I insert data into the table, I get the error:
Error Code: 1142
TRIGGER command denied to user 'root' @ '%' for table 'import_files_log'
In this case, both my current user and the DEFINER trigger associated with the table both have superuser rights. So request
SELECT CURRENT_USER(); gives the result
user @%,
and the trigger associated with the table contains the string:
/ *! 50017 DEFINER = 'root' @ '%' * /
While the mysql.user table contains the following entries:
What is the reason for the error?

SHOW GRANTS FOR 'root'@'%';commandSHOW GRANTS FOR 'root'@'%';- Anton ShchyrovTRIGGERprivileges are not - Anton Shchyrov