in reply to ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach)
I think you need:
my $dsn = "dbi:$driver:$database";
Of course this assumes this is a local database, and that $ORACLE_HOME is set appropriately.
If the database is not local, you will need to invoke connect with a host, and possibly a port.
Hope that helps
Thanks,
cbeckley
|
|---|