MySQL Forums
Forum List  »  PHP

Re: Query from multiple databases
Posted by: Peter Brawley
Date: April 19, 2012 04:50PM

You cannot query across connections. You will have to run the two queries separately, then combine the results in PHP.

An alternative possibility: on one server define FEDERATED tables pointing at tables on the other server,

PB

Options: ReplyQuote


Subject
Written By
Posted
Re: Query from multiple databases
April 19, 2012 04:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.