Feb 3, 2018

MySQL 5.7 does not support triggers using FOR EACH STATEMENT.

In MySQL 5.7, all triggers are FOR EACH ROW; that is, the trigger is activated for each row that is inserted, updated, or deleted.