ORA-28000:the account is locked 用户scott被锁

来源:互联网 发布:图解网络硬件 百度云 编辑:程序博客网 时间:2024/05/22 02:28

一.现象

用户为scott时,用pl/sql登录oracle,报错

二.解决方案

(1)以DBA的身份登录另一个用户,输入:
c:> sqlplus sys/test1234 as sysdba
(2)为scott解锁,输入:
alter user scott account unlock;

给出提示:

用户已更改。

SQL> conn scott/tiger
ERROR:
ORA-28001: the password has expired

更改 scott 的口令
新口令:


原创粉丝点击