$dsn = "dbi:Oracle:DS8CC2";
or
$dsn = "dbi:Oracle:DS8CC2.ORACLEOUTSOURCING.COM";
the error becomes
DBI connect('DS8CC2','',...) failed: ORA-01031: insufficient privilege
+s (DBD ERROR: OCISessionBegin)
and
DBI connect('DS8CC2.ORACLEOUTSOURCING.COM','',...) failed: ORA-01031:
+insufficient privileges (DBD ERROR: OCISessionBegin)
respectively.
But as I mentioned, there's no issue while connecting directly using sqlplus '/as sysdba' and $TNS_ADMIN/sqlnet.ora does have the entry:
NAMES.DEFAULT_DOMAIN = ORACLEOUTSOURCING.COM
|