我想我们可以做database1.table1 join database2.table2 on
等等。将表连接到同一服务器上的不同数据库中
是否可以跨不同的sql服务器连接表?
答案 0 :(得分:3)
您可以使用FEDERATED Storage Engine。
The FEDERATED storage engine lets you access data from a remote
MySQL database without using replication or cluster technology.
Querying a local FEDERATED table automatically pulls the data
from the remote (federated) tables. No data is stored on the local tables.