In MySQL
, I have two different databases -- let's call them A
and B
.
Database A
resides on server server1
, while database B
resides on server server2
.
Both servers {A
, B
} are physically close to each other, but are on different machines and have different connection parameters (different username, different password etc).
In such a case, is it possible to perform a join between a table that is in database A
, to a table that is in database B
?
If so, how do I go about it, programatically, in python
? (I am using python
's MySQLDB
to separately interact with each one of the databases).