您的位置:首页 > 其它

ORA-28000: the account is locked的解决办法

2013-06-25 17:37 363 查看
ORA-28000: the account is locked的解决办法

ora28000 the account islocked

ORA-28000: the account is locked-的解决办法

第二种

ALTER USER username ACCOUNT UNLOCK;

第三种在plsql developer中要是以scott/tiger登录时提示ora-28000 the account is locked。

解决办法:

新装完Oracle10g后,用scott/tiger测试,会出现以下错误提示:

oracle10g the account is locked

oracle10g the password has expired

原因:默认Oracle10g的scott不能登陆。

解决:

(1)conn sys/sys as sysdba; //以DBA的身份登录

(2)alter user scott account unlock;// 然后解锁

(3)conn scott/tiger //弹出一个修改密码的对话框,修改一下密码就可以了

在运行里面输入cmd在DOS模式下输入sqlplus,以system用户名登录,密码是刚装oracle时自己填写的密码

orcl,登录进去以后。

SQL> conn sys/sys as sysdba; (分号是必须的但是我是以system登录的所在这不应该写conn sys/sys

as sysdba应该写conn system/orcl as sysdba;)

Connected.

SQL> alter user scott account unlock;

User altered.

SQL> commit;

Commit complete.

SQL> conn scott/tiger//请输入新密码,并确认后OK

Password changed

Connected.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: