Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to connect to pluggable database - Oracle Datase 12.2.0.1.0

sk4May 24 2022

Hi
I have installed oracle database 12.2.0.1.0. as container database with orclpdb as my pluggabe database
Logged in sqlplus as connect sys as sysdba
ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON=FALSE SCOPE=BOTH;
create user c##test identified by test;
grant dba to c##test;
*Tried to connect c##test/test@orcl, got error message*
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE

Again logged in through sqlplus and did the below job
alter session set container=orclpdb;
alter pluggable database orclpdb open;
alter pluggable database orclpdb save state;
create user scott identified by tiger;
grant dba to scott;
Tried to connect scott/tiger@orcl, got error message*;
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
*My listener.ora*
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = c:\app\shamsad\product\12.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:c:\app\shamsad\product\12.2.0\dbhome_1\bin\oraclr12.dll")
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.105)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)

tnsnames.ora
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.105)(PORT = 1521))

ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)

ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.105)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)

*lsnrctl status are ok*
*tnsping orcl is also ok*

*Please guide me why i am not able to login*

This post has been answered by User_GSQTY on May 24 2022
Jump to Answer
Comments
Post Details
Added on May 24 2022
1 comment
502 views