首页 > 数据库技术 > 详细

oracle刚开始时Scott账户是lock状态的解决办法

时间:2014-11-24 10:10:12      阅读:299      评论:0      收藏:0      [点我收藏+]

1. 首先,需要对Scott账户进行解锁,输入:alter user scott account unlock;这时,提示scott账户过期并且密码过期(expired);

2. 然后,查看scott账户有效期,输入:select  * from dba_profiles s where s.profile = ‘default‘ and resource_name = ‘password_life_time‘;

3. 接着,设置scott账户的有效期为无限,输入:alter profile default limit password_life_time unlimited;

4. 最后,修改scott账户的密码为root,输入:alter user scott identified by root。


oracle刚开始时Scott账户是lock状态的解决办法

原文:http://blog.csdn.net/holmes_conan/article/details/41420347

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!