Código:
y sale este errorCREATE TRIGGER `T_1` AFTER INSERT ON login FOR EACH ROW BEGIN INSERT INTO login2 SET login2.idlogin = NEW.id_log, login2.nombre = NEW.nombre END
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END' at line 7
saludos