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!