This error means you already have an AFTER INSERT
trigger on meetings
table.
If it is the same trigger (meaning vipInvite
) that you created earlier and now you want to replace it then you need to drop it first
DROP TRIGGER vipInvite;
DELIMITER $$
CREATE TRIGGER vipInvite
...
END$$
DELIMITER ;
Now if you have some other trigger you have to merge code from both triggers into one, then drop existing trigger, and then create a new one.
To show the list of existing triggers use SHOW TRIGGERS
.
SHOW TRIGGERS WHERE `table` = 'meetings';
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…