RE: ORA-12154: TNS:could not resolve the connect identifier specified
- From: bongtumanut@xxxxxxxxx (Bong Tumanut)
- Date: Wed, 12 Dec 2007 15:08:07 -0800 (PST)
There's a file named tnsnames.ora file in $ORACLE_HOME/network/admin. Make sure there is an entry for $dbName there.
Bong
"Loo, Peter # PHX" <Peter.Loo@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Here is what I did:
eval {
$dbh = DBI->connect("dbi:$dbDriver:$dbName", $dbUser, $dbPass,
{ RaiseError => 1, PrintError => 1,
ora_envhp => 0 });
};
Still does not work.
Peter
bong@xxxxxxxxxxx
- References:
- RE: ORA-12154: TNS:could not resolve the connect identifier specified
- From: Peter # PHX Loo
- RE: ORA-12154: TNS:could not resolve the connect identifier specified
- Prev by Date: Re: ORA-12154: TNS:could not resolve the connect identifier specified
- Next by Date: Re: ORA-12154: TNS:could not resolve the connect identifierspecified
- Previous by thread: RE: ORA-12154: TNS:could not resolve the connect identifier specified
- Next by thread: Re: ORA-12154: TNS:could not resolve the connect identifier specified
- Index(es):