Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple connections

Status
Not open for further replies.

netcomander

Programmer
Jul 20, 2001
68
DE
hi all,

I gat problems with table joins and I really urgently
need help, when the databases wich contain these
tables are not on the same server.

What works is a query like this:

select * from databaseA.tableX, databaseB.tableY


But what I need to manage is a query like

con1 = mysql_pconnect('192.100.0.22','sam','');
con2 = mysql_pconnect('192.105.0.3','corn','');

select * from con1.databaseA.tableX, con2.databaseB.tableY

Does anyone knows how to join tables over several mashines?

thanks in advance

greetings markus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top