SQLPLUS connection behaviour
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?