I also get that error too. The solutions which perhaps will help you are :

1. Try to look up your trigger which have been created. use command : SHOW TRIGGERS ;

2. If i'm not wrong, your trigger has been created and you can see it there.
try to drop the trigger if the trigger has been created.

3. Try to compile it again ...


and the complete code is :

DELIMITER...