hi all,
i have a TNS_NAME for an oracle database like so:
$DB = <<<END
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.5)(PORT = 1521))
)
(CONNECT_DATA =
(SID = ORADEV)
(SERVER = DEDICATED)
)
)
END;
two different schemas associated with two different users:
$USER1 = "USER1";
$PASS1 = "PASS1";
$USER2 = "USER2";
$PASS2 = "PASS2";
connecting to the first schema works fine:
$conn = ociplogon($USER1, $PASS1, $DB);
however connecting to the second schema fails:
$conn = ociplogon($USER2, $PASS2, $DB);
i get the error "ORA-12560: TNS
rotocol adapter error"
this is stumping me, as both schemas reside on the SAME server, using the SAME tns name!
any ideas?
-jeff
lost: one sig, last seen here.
i have a TNS_NAME for an oracle database like so:
$DB = <<<END
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.5)(PORT = 1521))
)
(CONNECT_DATA =
(SID = ORADEV)
(SERVER = DEDICATED)
)
)
END;
two different schemas associated with two different users:
$USER1 = "USER1";
$PASS1 = "PASS1";
$USER2 = "USER2";
$PASS2 = "PASS2";
connecting to the first schema works fine:
$conn = ociplogon($USER1, $PASS1, $DB);
however connecting to the second schema fails:
$conn = ociplogon($USER2, $PASS2, $DB);
i get the error "ORA-12560: TNS
this is stumping me, as both schemas reside on the SAME server, using the SAME tns name!
any ideas?
-jeff
lost: one sig, last seen here.