dataabse connectin string problem?

Reply

Join Date: Nov 2006
Posts: 2
Reputation: vr4indian is an unknown quantity at this point 
Solved Threads: 0
vr4indian vr4indian is offline Offline
Newbie Poster

dataabse connectin string problem?

 
0
  #1
Nov 20th, 2006
hello friend

i have two website . both hosted on diff. server

now what i need is to connect second website database from first website


***
detail
***

when user register on first website a insert query should also make on second website database.

can you tell me how can i write my conenction string:


server1:rs397.secureserver.com (database: abc) , website 1: www.example1.com
server2:rs455.secureserver.com (database: 3214), website 2: www.example2.com

waiting for any one urgent reply
vr4indian@yahoo.com is my email id or you can also reply on this message
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 91
Reputation: ses5909 is an unknown quantity at this point 
Solved Threads: 0
ses5909 ses5909 is offline Offline
Junior Poster

Re: dataabse connectin string problem?

 
0
  #2
Jan 4th, 2007
You can't use one connection string; you need two and you will have to call te query twice. is there a reason you are storing the same info on two servers?

I believe mysql can support joining two tables from two databases, but im not sure if they are on different servers.
Last edited by ses5909; Jan 4th, 2007 at 4:12 pm.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC