Oracle用户锁定时的解决办法

用SQL Plus登录时输入:conn scott/tiger
给出提示:
ERROR:
ORA-28000: the account is locked

解决方法:

解决:
(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 的口令
SQL> alter user scott identified by tiger;

密码为:tiger

你可能感兴趣的:(Oracle)