I have a MySQL query that accesses 2 databases. I am using Python to execute the query. The problem with Python MySQL connection is that it connects to a single database at any one time like below;
DbConnection = MySQLdb.connect(host='localhost', user='root', passwd='', db='MySQLDatabase')
How can I get Python to execute a query that access 2 databases?