I know it\'s highly unrecommended,
I know that it\'s an issue with performance, speed, etc, but it\'s for an integration, and they only are doing their updates via m
To trigger an external action, you have to use a UDF - it's the only way for mysql to tell something to the "outside world". The only alternative is an external agent polling the DB constantly - which is an inferior solution.
As for the choice of a UDF,
curl for all it's worth.Ways that come to mind:
touch some file which the agent watches. There's an existing sys_exec that uses system() (with all due considerations).As the sys_exec's source shows, it's not so hard to write a UDF, so you aren't really limited to what's already available (this may explain why lib_mysqludf_sys is so limited: if you need something better, it's sufficiently easy to write a task-specific function). The current docs are at 26.4.2 Adding a New User-Defined Function - MySQL 5.7 Reference Manual.