I\'m looking for a solution similar to the inotify method of watching files for changes. I\'m aware that I could watch the binlog file of the mysql database and run queries
If you add a TRIGGER to the table(s) you're interested in, you can use that to alert the watching application. You could do that in a number of ways: