`

the account is locked解决办法_oracle10g_自己总结

阅读更多
安装oracle 10g后,登录isqlplus--》http://localhost:5560/isqlplus,使用scott登录。
出现:the account is locked
这个错误几乎所有的初学者都会遇到.Oracle默认关闭了scott用户
解决办法如下:
运行--cmd--> cd\ -->sqlplus scott/tiger ,提示the account is locked。
Enter user-name:system/sa (这里sa是我安装设置的密码,根据实际修改)
然后系统会显示:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
说明登录成功了.
输入语句:
 alter user scott account unlock;  (这个分号必须写)
这条语句的作用是解锁.接着显示:User altered
说明解锁成功,输入exit退出.
重新登录:
输入用户名:scott
密码:tiger
这时会提示修改密码.最好重新输入原有的密码tiger.
成功进入 isqlplus 。。。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics