MySQL Forums
Forum List  »  Newbie

Re: How to link table from two databse?
Posted by: Mike Hillyer
Date: May 06, 2005 06:07AM

Are they two databases on the same mysql instance? Two instances? Separate physical servers?

If same instance just do SELECT ... FROM databaseA.tableB, databaseB.tableA ...;

Otherwise look at federated tables in MySQL 5: http://dev.mysql.com/doc/mysql/en/federated-storage-engine.html

Mike Hillyer, Technical Writer
MySQL AB, www.mysql.com
Office: +1 403-380-6535
Mobile: +1 403-330-0870
Blog: http://www.openwin.org/mike

Options: ReplyQuote


Subject
Written By
Posted
Re: How to link table from two databse?
May 06, 2005 06:07AM


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.