Oracle 10g安装之后解锁Scott的方法
2013-01-04 15:57
387 查看
在DBA的日常工作中,经常遇到为Oracle用户解锁的操作;这篇文章给出在命令行下进行Oracle用户解锁的操作方法,通过几条简单的解锁语句就能完成此项工作。下面是具体的过程:
默认的scott用户是被锁定的,先解锁就能登陆上了。 使用下面的语句解锁scott:
alter user scott account unlock;
解锁之后可能会要求你该密码:
alter user scott identified by tiger;
再登陆:
sqlplus scott/tiger
就能登陆了
Oracle锁定和解锁用户的命令
SQL> conn /as sysdba 已连接。 //scott 用户在没有设定tieger默认密码时,登陆不上
锁定用户的方法:
SQL> alter user test account lock;
用户已更改。
-------test用户登陆数据库,失败了。 C:\>sqlplus test/test
ERROR: ORA-28000: the account is locked
Oracle用户解锁的方法:
SQL> conn /as sysdba SQL> alter user test account unlock;
用户已更改。这样就完成了Oracle的用户解锁操作。
默认的scott用户是被锁定的,先解锁就能登陆上了。 使用下面的语句解锁scott:
alter user scott account unlock;
解锁之后可能会要求你该密码:
alter user scott identified by tiger;
再登陆:
sqlplus scott/tiger
就能登陆了
Oracle锁定和解锁用户的命令
SQL> conn /as sysdba 已连接。 //scott 用户在没有设定tieger默认密码时,登陆不上
锁定用户的方法:
SQL> alter user test account lock;
用户已更改。
-------test用户登陆数据库,失败了。 C:\>sqlplus test/test
ERROR: ORA-28000: the account is locked
Oracle用户解锁的方法:
SQL> conn /as sysdba SQL> alter user test account unlock;
用户已更改。这样就完成了Oracle的用户解锁操作。
相关文章推荐
- 安装完成的Oracle 给Scott账户解锁方法
- 关于Oracle 10g scott用户解锁的方法
- oracle 10g 安装成功之后,scott用户被锁定问题解决
- 关于Oracle 10g scott用户解锁的方法
- 关于Oracle 10g scott用户解锁的方法
- 关于Oracle 10g scott用户解锁的方法
- 安装完Oracle 12C数据库,scott账户过期,解锁方法
- 64位windows7 上安装32位oracle 10g 的方法
- Oracle 安装OEM 报错: 无法对所有EM 相关账户解锁 解决方法
- 安装完Oracle数据库,给scott账户解锁方法
- windows 7安装ORACLE 10g客户端的方法分享
- Win8.1/Win8 系统下安装Oracle 10g 提示“程序异常终止,发生未知错误”的解决方法
- Oracle 安装OEM 报错: 无法对所有EM 相关账户解锁 解决方法
- win7中无法安装Oracle 10g的解决方法
- Suse 10 + Oracle 10g的安装方法
- ubuntu 11.10 安装oracle 10g 成功步骤及问题解决方法
- 安装完Oracle数据库,给scott账户解锁方法
- Oracle 安装OEM 报错: 无法对所有EM 相关账户解锁 解决方法
- win7(x64)安装oracle 10g 32位的方法
- Windows7(32bit)安装Oracle 10g(32bit)方法