I have a databases in a remote machines. Assume db1 at http://example.com . I mean this database is not on my local machine but I can connect that by a URL.
I want whenever some updates happen on db1.table1 a trigger calls a function in a JAVA Application on my local machine to do some processing.
I found a solution here but it needs to have the java function in a same machine that you have the MySQL server because of this line:
SET result = sys_exec('/path/to/javabin -jar your.jar');
How can I give the IP address of my machine instead of path in the lib_mysqludf_sys library or some other library like this?