エラーコード: ORA-28000
詳細: the account is locked
原因: The user has entered wrong password consequently for maximum number of times specified by the user's profile parameter FAILED_LOGIN_ATTEMPTS, or the DBA has locked the account
①Oracleインストール時に設定した共通ユーザーc##commonuser(すべての権限を委譲)でログイン
C:\Users\Owner>sqlplus c##commonuser/commonpass@localhost:1521/orcl as sysdba;
②セッション変更
SQL> show con_name
CON_NAME
------------------------------
CDB$ROOT
SQL> alter session set container = pdborcl2;
セッションが変更されました。
SQL> show con_name
CON_NAME
------------------------------
PDBORCL2
③アカウント「pdbadmin」をアンロック
SQL> alter user pdbadmin account unlock;
ユーザーが変更されました。
以上で、ログインできるようになった。