troubleshooting Question

Can mariadb access another server/database?

Avatar of Mark Lewis
Mark Lewis asked on
DatabasesMongoDB* MariaDB
19 Comments1 Solution342 ViewsLast Modified:
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.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 19 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros