Quantcast
Channel: Adobe Community : All Content - ColdFusion
Viewing all articles
Browse latest Browse all 5979

How to make odbc queries on db's on the same server, but registered to different domains?

$
0
0

I have two domains (A and B) hosted on the same server.  I need to query sql db's on one domain from the other domain.

 

I thought it should be as easy as this, but it's not finding the db.

 

From Domain A:

 

<CFQUERY datasource="datasource on domain B" DBSERVER="serverurl for domain B" username="username" password="!password">

SELECT

*

FROM table

</CFQUERY>

 

Thanks!


Viewing all articles
Browse latest Browse all 5979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>