Oracle解锁scott账户
2017-06-09 01:45
183 查看
Oracle安装完成之后scott账户默认是锁定的,登录的时候会提示账户已经被锁定:
C:\Users\CC11001100>sqlplus scott/toor SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 6月 8 22:21:27 2017 Copyright (c) 1982, 2005, Oracle. All rights reserved. ERROR: ORA-28000: the account is locked 请输入用户名:
需要手动打开。
使用安装时设定的sys密码登录,特权用户登录的时候必须带上as sysdba 或者as sysoper:
C:\Users\CC11001100>sqlplus sys/toor as sysoper SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 6月 8 22:12:43 2017 Copyright (c) 1982, 2005, Oracle. All rights reserved. 连接到: Oracle Database 10g Release 10.2.0.1.0 - Production SQL>
登录进去之后解锁scott账户:
SQL> alter user scott account unlock ; 用户已更改。
修改scott的密码:
SQL> alter user scott identified by toor ; 用户已更改。
再使用scott登录就可以登录成功了:
C:\Users\CC11001100\Desktop>sqlplus scott/toor SQL*Plus: Release 10.2.0.1.0 - Production on 星期五 6月 9 01:48:04 2017 Copyright (c) 1982, 2005, Oracle. All rights reserved. 连接到: Oracle Database 10g Release 10.2.0.1.0 - Production SQL> show user; USER 为 "SCOTT"
.
相关文章推荐
- oracle 怎么解锁scott账户
- Oracle安装过后怎么解锁Scott账户
- Oracle解锁scott账户
- ORACLE 解锁scott账户
- Oracle解锁scott账户
- 解锁Oracle 11g scott账户
- 安装完成的Oracle 给Scott账户解锁方法
- Oracle中scott账户解锁方法
- oracle 解锁scott账户
- 安装完Oracle 12C数据库,scott账户过期,解锁方法
- 为oracle自带的scott用户解锁
- Oracle 11g解锁scott
- oracle 11g scott账户被锁定的解决方法
- Oracle 安装OEM 报错: 无法对所有EM 相关账户解锁 解决方法
- Oracle:解锁scott用户及设置密码
- Oracle解锁scott用户
- oracle_10g中的scott解锁
- 在Oracle 11g中给scott用户解锁
- 在Oracle安装过程中如果scott或者hr忘记解锁+输入口令时没显示
- Linux环境下添加Oracle的scott账户