oracle被琐定
来源:互联网 发布:淘宝上靠谱的乔丹鞋店 编辑:程序博客网 时间:2024/06/05 09:00
转:http://database.51cto.com/art/200910/158576.htm
在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的用户解锁操作。
0 0
- oracle被琐定
- Oracle???
- oracle
- oracle
- oracle
- oracle
- oracle...
- oracle
- oracle
- ORACLE
- Oracle
- ORACLE
- Oracle
- Oracle
- oracle
- oracle
- oracle
- ORACLE
- Oracle常用查看表结构命令
- Java中接口、多态、instanceof
- GCD的一点小补充
- jni与C/C++对应的类型
- android camera 摄像头预览画面变形
- oracle被琐定
- RxJava操作符
- Modbus设备调试工具Winform(包括SRC0001、海康威视、TTS以及各种类型LED的测试)
- modCount
- 理解 Python 语言中的 defaultdict
- 资源链接网址
- String中c_str()、data()、copy(p,n)函数的用法
- 网卡驱动-设置组播mac地址
- 文章标题