how can i execute system calls within a trigger?
my code currently looks like this:
DELIMITER $$
DROP TRIGGER IF EXISTS trig $$
CREATE
TRIGGER trig AFTER INSERT ON tbl1
FOR EACH ROW BEGIN
system 'echo 123';
END$$
what is the right syntax?
i’m still pretty new to DB,
thanks in advance.
You can’t execute system calls from SQL trigger.
http://bugs.mysql.com/bug.php?id=41094