登录plsql 报错 the account is locked --用户被锁

登录数据库服务器,进入oracle用户下:

[root@uumsnormal-oracle admin]# su - oracle

[oracle@uumsnormal-oracle ~]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 4 16:08:27 2016

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to:

Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production

With the Partitioning, OLAP and Data Mining options

SQL> alter user xx account unlock; --xx为你的用户名,解锁
         User altered.
SQL> commit;
         Commit complete.

SQL> alter user XX identified by 用户名的密码;  --修改密码

========================================================================================== 我希望每一篇文章的背后,都能看到自己对于技术、对于生活的态度。 我相信乔布斯说的,只有那些疯狂到认为自己可以改变世界的人才能真正地改变世界。面对压力,我可以挑灯夜战、不眠不休;面对困难,我愿意迎难而上、永不退缩。 其实我想说的是,我只是一个程序员,这就是我现在纯粹人生的全部。 ==========================================================================================
原文地址:https://www.cnblogs.com/weihuang6620/p/6773022.html