Database Administration (MOSC)

MOSC Banner

19c : Connecting to the same PDB name in different 2 CDBs

Hi ,

I have 2 pdbs having the same name pdb_test , but belong to 2 different CDB : CDB_1 and CDB_1 on the same server.

When connecting to pdb_test via sql Developer  :

SQL> select instance_name from v$instance ;

CDB_1

 

Why is it CDB_1 and not CDB_2 ?

 

PDB_TEST     =(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=HOST1)(PORT=1523)))(CONNECT_DATA=(SERVICE_NAME=PDB_TEST)(SERVER=DEDICATED)))

 

How to connect to pdb_test of CDB_2 ?

 

Best regards.

GD.

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