r/DatabaseHelp • u/billytheone • Oct 16 '17
MySQL (2 Databases) Linking help/Question
Hi,
I have 2 AMMP webservers each with an inbuilt MySQL database running on Windows.
One of the databases gets updated, I then have to copy the content to the other one each night.
Are there any ways were I could easily dynamically update the redundant database?
Thanks
1
Upvotes
View all comments
Show parent comment
2
u/ScariestofChewwies Oct 17 '17
You could use a stored function through a script to update it every night. I'm Not exactly sure how to do it in your scenario but a Google search might yield results. Also depending on your latency and the amount of data you need to update you could also use a trigger.