Connecting to DB via sqlplus using connection identifier
I'm having problems connecting to my database using the connection identifier via wallet.
If I connect using below command, it is ok to login:
$ sqlplus /@$MDMS_OWNER
SQL*Plus: Release 19.0.0.0.0 - Production on Mon Nov 2 12:41:46 2020 Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Last Successful login time: Mon Nov 02 2020 12:11:57 +08:00
Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0
SQL> show user USER is "WACSMDMS"
However, when I use sqlplus /nolog then use connect as below, it failed with below error:
$ sqlplus /nolog
SQL*Plus: Release 19.0.0.0.0 - Production on Mon Nov 2 12:42:08 2020 Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
SQL> connect /@$MDMS_OWNER