rajesh_perl has asked for the wisdom of the Perl Monks concerning the following question:
Error :use strict; use warnings; use DBI; # . /opt/CA/WorkloadAutomationAE/autouser.DEV/autosys.sh.`hostname` # TNS_ADMIN = "/usr/oracle/product/11.2.0.4/network/admin"; my $driver = "Oracle"; my $database = "ASYSDEV2"; my $dsn = "DBI:$driver:database=$database"; my $userid = "autosysr"; my $password = "A13sm_sd"; my $dbh = DBI->connect($dsn, $userid, $password ) or die $DBI::errstr;
DBI connect('database=ASYSDEV2','autosysr',...) failed: ORA-12154: TNS +:could not resolve the connect identifier specified (DBD ERROR: OCISe +rverAttach) at perl_DBI.pl line 15 ORA-12154: TNS:could not resolve the connect identifier specified (DBD + ERROR: OCIServerAttach) at perl_DBI.pl line 15.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach)
by marto (Cardinal) on Mar 28, 2017 at 06:23 UTC | |
|
Re: ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach)
by cbeckley (Curate) on Mar 28, 2017 at 13:59 UTC | |
|
Re: ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach)
by afoken (Chancellor) on Mar 30, 2017 at 16:28 UTC | |
|
Re: ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach)
by madtoperl (Hermit) on Mar 28, 2017 at 08:48 UTC | |
by marto (Cardinal) on Mar 28, 2017 at 08:49 UTC |