Database Administration (MOSC)

MOSC Banner

ora-12154 with direct string connection but OK with tnsnames.ora

Hi all,

Please advise

  1. sqlplus test/1234@//servera:7111/db1.xxx.com «—— not working put in a line

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

2. sqlplus test/1234@db1.xxx.com ←— works with tnsnames.pra

Please advise what went wrong

Thanks in Advance and Appreciated!!!

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center