日期:2014-05-16  浏览次数:20374 次

the account is locked 解决办法
安装oracle 10g后,登录 出现
the account is locked
这个错误几乎所有的初学者都会遇到.
其实解决办法非常简单.
请输入用户名:? SYSTEM
输入口令:admin(注意,这个密码是你在安装oracle时第一步设置的)
然后系统会显示:
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;?
这条语句的作用是解锁.接着显示:
用户已更改。
说明解锁成功,输入exit退出.
重新登录:
输入用户名:scott
密码:tiger
这时会提示修改密码.最好重新输入原有的密码tiger.
成功!
本文出自 51CTO.COM技术博客
1 楼 venn 2010-04-22  
不错,学习了
2 楼 ponlya 2010-09-01  
good !thanks!