Database Administration (MOSC)

MOSC Banner

Using TWO_TASK to connect to PDB

edited Jul 29, 2019 2:58PM in Database Administration (MOSC) 7 commentsAnswered ✓

Hello Gurus,

Off late, I have been trying to connect to a PDB using TWO_TASK env variable as suggested by AskTom (https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:9531165800346188172 ).

testdb1 > export TWO_TASK=PDBtestdb1 > sqlplus dummy/m1lEH1ghSQL*Plus: Release 18.0.0.0.0 - Production on Wed Jul 24 14:36:55 2019Version 18.3.0.0.0Copyright (c) 1982, 2018, Oracle.  All rights reserved.ERROR:ORA-12154: TNS:could not resolve the connect identifier specified

What is missing? And why isn't this working?

Thanks in advance,

aBBy

Tagged:

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