报错信息
ORA-28000: the account is locked
问题原因
在oracle中,连续十次尝试登陆不成功,那么此账户将会被锁定(lock)。当使用被锁定的账户登录时,系统会报错:ORA-28000: the account is locked。
解决办法
- 使用sys账户登录,注意请以管理员身份登录
sqlplus ‘/as sysdba’
- 使用命令解锁用户
alter user username account unlock;
其中,Username为锁定的帐号
重置用户密码
alter user username identified by password;
其中username为用户名,password为新密码。
完毕!