I have written a trigger, but mysql doesn't like it:
Code :
create trigger triggers_on_comand_line AFTER UPDATE on test1
for each row
begin
IF total_volume >= used_volume
THEN
\! echo "php -f /home/test.php"
END;
I got this error :
** MySQL said: Documentation 1064 - 064 - 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 '! echo "php -f /home/test.php" at line 6 **
Thanks