From: Date: January 25 2007 12:08pm Subject: Re: Query Two Databases List-Archive: http://lists.mysql.com/mysql/204619 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; format=flowed The databases are on the same server, however the login details for each database are different. >From: "Martijn Tonies" >To: >Subject: Re: Query Two Databases >Date: Thu, 25 Jan 2007 11:56:37 +0100 > > > > > > Not sure if this is possible or not. But I've two identical tables in >two > > different databases. Is it possible to retrieve data from the different > > tables in one query ? > >Yes, by using this notation: > >select * >from mydatabase.mytable > >Martijn Tonies >Database Workbench - development tool for MySQL, and more! >Upscene Productions >http://www.upscene.com >My thoughts: >http://blog.upscene.com/martijn/ >Database development questions? Check the forum! >http://www.databasedevelopmentforum.com > > >-- >MySQL General Mailing List >For list archives: http://lists.mysql.com/mysql >To unsubscribe: >http://lists.mysql.com/mysql?unsub=neildtompkins@stripped > _________________________________________________________________ Find Love This New Year With match.com! http://msnuk.match.com