본문 바로가기
SQL/Oracle

[Oracle] ORA-28000 계정잠김

by Pendine 2022. 12. 26.
728x90

ORA-28000: the account is locked

ORA-28000: 계정이 잠금되었습니다

 

테스트 할때 비번을 여러번 틀려서 계정이 잠겼음.

dba 권한이 있는 계정으로 로그인해서

 

--계정 상태 확인
select username, account_status, lock_date
from dba_users
where username = '유저명'
;

-- 계정 잠김 해제
-- 꼭 "" 쌍따옴표 사용할 것
ALTER USER "유저명" ACCOUNT UNLOCK;

728x90

댓글