Unable to connect to oracle user I have hit a rather frustrating snag in that after installing Oracle 18c.

I have been unable to successfully create a user and then connect to it. 

More precisely I can create the user but the connection keeps failing. The commands I’m using are below along with the failed connection attempt. If you have any suggestions it would be greatly appreciated.

I first connect to Oracle as root and then connect to the container XEPDB1

sqlplus system/password

SQL&gt;ALTER SESSION SET CONTAINER = XEPDB1;


I then do the following to create a user.

SQL&gt;create user paul identified by Guardium111;

SQL&gt;grant connect to paul;

SQL&gt;grant create session to paul;

SQL&gt;alter user paul default role all;


Everything above works without error. When I try to connect to user paul I get the following. I’m tearing what little is left of my hair out trying to understand what the issue is.

SQL&gt; conn paul

Enter password:

ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
Discovered what the problem was.

sqlplus SYS/guardium111@XEPDB1 AS SYSDBA  
sqlplus paul/guardium111@XEPDB1


OR

conn paul/guardium111@XEPDB1