错误提示如下: 

SQL> connect scott/tiger

ERROR:

ORA-28000: the account is locked

Warning: You are no longer connected to ORACLE.

 

 

解决方法如下:

SQL> connect scott/tiger as sysdba

Connected.

SQL> show user;

USER is "SYS"

SQL> alter user scott identified by tiger account unlock;

 

User altered.

 

SQL> conn scott/tiger

Connected.

SQL> show user  

USER is "SCOTT"