Comments - Unable to create after insert trigger on mariadb
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
I tried the second version. I added a space after 'FOR EACH ROW' (maybe just a formatting problem, I don't know). It works.
Try a SHOW PROCESSLIST and look at the Status column - maybe the process is "Waiting for Metadata locks"?