By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,508 Members | 1,915 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,508 IT Pros & Developers. It's quick & easy.

how to connect two databases from two different server?

P: 2
I have two databases from two different server and i want to connect them in one php page...
First connection is established but in second connection it's giving me error like...
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'www.example.com' ...

Please help....

Thanks in advance...
Mar 23 '10 #1
Share this Question
Share on Google+
1 Reply


Atli
Expert 5K+
P: 5,058
Hey.

Can you connect to the second server by itself?
Mar 23 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.