oracle刚开始时Scott账户是lock状态的解决办法
2014-11-23 22:25
323 查看
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。
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。
相关文章推荐
- 在安装oracle10.2.0.1数据库时没有安装scott/tiger用户解决办法
- oracle分布式处理时报“ORA-02041: 客户数据库未开始一个事务处理”解决办法 - z
- ORA-00922: 选项缺失或无效和ORA-28000: ORACLE账户锁定的解决办法
- Oracle 账户锁定问题解决办法
- MySQL drop空表时处于Waiting for table metadata lock状态,解决办法
- 安装oracle时,检测系统要求时状态为错误的解决办法
- ORA-28002账户过期 oracle 12c解决办法
- oracle中scott不可登录的解决办法
- Oracle Scott创建视图权限不足解决办法
- ORA-00922: 选项缺失或无效和ORA-28000: ORACLE账户锁定的解决办法
- Oracle 学习笔记3:新建数据库没有scott用户解决办法
- ORA-00922: 选项缺失或无效和ORA-28000: ORACLE账户锁定的解决办法
- oracle enq: TX - row lock contention 解决方案(oracle SQL 语句在行锁上被阻塞 解决办法)
- Oracle创建的序列从2开始自增的解决办法
- oracle关于scott无法登陆,scott账号被锁定的解决办法
- oracle 11g scott账户被锁定的解决方法
- 关于oracle 11g 显示没创建scott用户的解决办法
- 关于oracle账户被锁定的解决办法
- scott账户登录不上,报错ORA-01017: invalid username/password; logon denied最佳解决办法
- Oracle Scott创建视图权限不足解决办法