`

Oracle10gR2 SCOTT用户解锁方法

 
阅读更多

在安装完Oracle10g之后,想打开sql*plus来学习,使用scott用户来登录,会提示:

error:the account is locked

这个用户被锁定了,可能有如下原因:

1.尝试多次登录未成功.(可能密码不正确)
2.此用户被管理员手工锁定.
3.用户密码到期.未按时修改密码.等等...

以管理员system身份登录:
SQL> alter user scott account unlock; --SCOTT解锁
SQL> alter user scott identified by tiger;--重设SCOTT密码
SQL> conn scott/tiger

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics