0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ORACLEユーザーアカウント

Last updated at Posted at 2020-07-29

ORA-28000: アカウントがロックされています

解除の手順

  1. 管理権限ユーザー(sys等)でログインする
$ sqlplus / AS SYSDBA
  1. dba_users テーブルでステータスを確認する
SQL> select username, account_status, profile from dba_users where username = 'USER_NAME';

USERNAME  ACCOUNT_STATUS PROFILE
--------- -------------- -------
USER_NAME LOCKED(TIMED)  DEFAULT

対象ユーザーがロックされていることを確認。

  1. ロック解除コマンドを実行
SQL> alter user USER_NAME account unlock;
  1. 解除されているか確認
SQL> select username, account_status, profile from dba_users where username = 'USER_NAME';

USERNAME  ACCOUNT_STATUS PROFILE
--------- -------------- -------
USER_NAME OPEN       DEFAULT

OPENになっていたら無事に解放されている。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?