新装完Oracle10g后,用scott/tiger测试,会出现以下错误提示: oracle10g the account is locked oracle10g the password has expired
原因:默认Oracle10g的scott不能登陆。
在运行里面输入cmd在DOS模式下输入sqlplus,以system用户名登录,密码是刚装oracle时自己填写的密码XXX,登录进去以后。
SQL> conn sys/sys as sysdba;
Connected.
SQL> alter user scott account unlock;
User altered.
SQL> commit;
Commit complete.
SQL> conn scott/tiger/ /请输入新密码,并确认后OK Password changed Connected.
这时再到plsql developer里面以scott/tiger登录就可以了。。。。。
本文详细介绍了在安装Oracle10g后,使用scott/tiger测试时遇到账号锁定或密码过期的错误提示。通过在DOS模式下以system用户登录并执行相关SQL命令,可以解锁账号并更改密码,最终实现scott/tiger的正常登录。
1万+

被折叠的 条评论
为什么被折叠?



