I try create trigger
CREATE TRIGGER `aster_users2` after update ON `aster_users` FOR EACH ROW BEGIN update event set flag=1 where id=1; END;
Try removing the semi-colons from your statements.
If you'd like to keep your semi-colons,
DELIMITER $$ CREATE TRIGGER `aster_users2` after update ON `aster_users` FOR EACH ROW BEGIN update event set flag=1 where id=1; END$$ DELIMITER ;