I'm not sure if I will be asking this correctly but here goes.
We use triggers fairly heavily in in our mariadb apps and have come across a situation where we would like mariadb to connect to a remote server/database to update a record.
Someone pointed this out;
https://mariadb.com/kb/en/mariadb/federated-storage-engine/
Since this is deprecated, is there another way to accomplish this?
The situation is that when a certain piece of data comes in, we use a trigger to run a query to see if the current data needs to be updated. If not, then do nothing. If so, then update the local database column but we also need to update another server, database and table at the same time.
We are trying to avoid using php and also avoid the app which is using the db from having to deal with this update mainly for optimization reasons.
The other option the mechanism used to update the mariadb shoukd be the same that updates the remote server.
Application updating two databases is simpler than trying to configure a db to notify another.....