简体   繁体   中英

database link between two mysql servers running in two different locations

Please tell me how to connect to mysql database server from another mysql database server running in two different locations and access all the tables and update them?

afaik there is no direct "database link" in mysql like there is in oracle. what you can do is master-master replication of two databases and then update locally. similar question with more info:

Oracle Database Link - MySQL Equivalent?

You could pop a MySQL Proxy client between the two servers and send your queries to it and let it do all the talking backwards and forwards between the other boxes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM