I there any way so send message from mysql database to my app? It can be on local machine and send via UNIX socket. I want to trigger this function and send message to my app that will track changes in database.
Asked
Active
Viewed 318 times
0
-
Possibly relevant: http://stackoverflow.com/questions/23031723/mysql-listen-notify-equivalent – Tim Biegeleisen Feb 09 '17 at 11:59
-
1You can write a user defined function in C and perhaps send the message from there. – Tim Biegeleisen Feb 09 '17 at 11:59
-
Also, you have to be sure you can't send the message manually after updating the database, it shouldn't be too hard to abstract such a function and make it work for all queries. – Iharob Al Asimi Feb 09 '17 at 12:04