RE: ORA-12154: TNS:could not resolve the connect identifier specified



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