无法以scott/tiger登录Oracle 10g的解决方法
以scott/tiger登录时提示ora-28000 the account is locked。
解决:
在运行里面输入sqlplus sys/thtwin as sysdba(当然也可以进入DOS窗口之后再操作),以sys用户名登录,密码是刚装oracle时自己填写的密码thtwin,登录进去以后。
- SQL>alteruserscottaccountunlock;
- Useraltered.
- SQL>commit;
- Commitcomplete.
- SQL>connscott/tiger//请输入新密码,并确认后OK
- Passwordchanged
- Connected.
这时再到sqlplus里面以scott/tiger登录就可以了