Execute Shell script/command from MySQL Trigger/Stored Procedure -
i'm writing main assignment on last semester @ study (it-engineering networking) , working mysql.
my question is: possible execute shell script/command within mysql trigger/procedure? or can done case statement? i've been searching around internet , read it's inadvisable it. need script check table in database alerts , warn people if there any. if there anyway else done, i'm open ideas. input appreciated :)
you can read blog triggering shell script mysql: https://patternbuffer.wordpress.com/2012/09/14/triggering-shell-script-from-mysql/
i think requirement write python/php/perl script connect mysql db , query alert table alert , accordingly show warning message on screen or send email/sms warning.