Login  Register

Re: Cannot connect to PDB

Posted by ErmanArslansOracleBlog on Sep 16, 2022; 9:01am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Cannot-connect-to-PDB-tp11068p11074.html

What is written in your tnsnames file placed in your db tier? What are the TNS entries there? Probably your PDB tns entry is something different there, check and then connect your PDB using the correct TNS. (or you may have a wrong shell environment.. that 's may be the reason.. That may lead your sqlplus read the wrong tnsnames file.)

Here is an example for EBS PDB connection ->

How to connect the Oracle E-Business Suite PDB as SYSTEM user?
Run the following commands to connect PDB as SYSTEM user
$ source <PDB_NAME>_<NODE_NAME>.env
$ sqlplus system/manager@<PDB_NAME>