Database Networking (MOSC)

MOSC Banner

SQLPLUS connection behaviour

edited Sep 2, 2018 9:14AM in Database Networking (MOSC) 10 commentsAnswered ✓

Hi all,

Hopefully someone smarter than me (I'm sure there are plenty) can help with some behaviour I'm seeing which I don't recall seeing before.

We are using 12.2 server in RAC configuration.

This connection string previously connected without issue to the PDB

sqlplus user/password@PDBTNS

It is currently failing with an ORA-01017 error.

However this connection works:

sqlplus sys/syspassword@PDBTNS as sysdba

BUT

sho con_name show that we are connected to the root container:

SQL> sho con_name

CON_NAME

------------------------------

CDB$ROOT

If our connection attempt is being sent to the container DB then it makes sense that the user gets rejected as it does not exist at the CDB level, but the question is why is it being routed to the CDB?

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