您现在的位置是:网站首页> 编程资料编程资料
oracle 重置sys密码的方法介绍_oracle_
2023-05-27
446人已围观
简介 oracle 重置sys密码的方法介绍_oracle_
如何重置oracle 10g SYS 的密码
安装完oracle 10g后,竟然将安装时设置的系统密码忘记。在同事的帮助下通过一下方法解决。
1.oracle的密码文件存在于:oracle_home/database/pwd.ora
2.使用orapwd 重置SYS密码
C:oracleproduct10.2.0db_1database>orapwd
Usage: orapwd file= password= entries= force=
C:oracleproduct10.2.0db_1database>orapwd file=PWDorcl.ora password=20120020
entries=5 force=y
where
file - name of password file (mand),
password - password for SYS (mand),
entries - maximum number of distinct DBA and force - whether to overwrit
e existing file (opt),
OPERs (opt),
There are no spaces around the equal-to (=) character.
重置oracle的sys用户密码
1.在oracle安装目录下搜索名为PWD数据库实例名.ora文件
2.备份一份密码文件(一定要哦,避免发生意外哦)
3.生成新的密码文件,在dos控制台下输入命令
orapwd file=PWD数据库实例名.ora文件路径\PWD数据库实例名.ora password=新密码 entires=数值
说明:file表示密码文件全路径(要和刚刚搜索到的一致)
password表示新密码
entires表示登录sys最多的用户
如果希望新的密码生效,则需要重新启动数据库实例
特别说明,在dos下输入orapwd其有详细提示.
安装完oracle 10g后,竟然将安装时设置的系统密码忘记。在同事的帮助下通过一下方法解决。
1.oracle的密码文件存在于:oracle_home/database/pwd
2.使用orapwd 重置SYS密码
C:oracleproduct10.2.0db_1database>orapwd
Usage: orapwd file=
C:oracleproduct10.2.0db_1database>orapwd file=PWDorcl.ora password=20120020
entries=5 force=y
where
file - name of password file (mand),
password - password for SYS (mand),
entries - maximum number of distinct DBA and force - whether to overwrit
e existing file (opt),
OPERs (opt),
There are no spaces around the equal-to (=) character.
重置oracle的sys用户密码
1.在oracle安装目录下搜索名为PWD数据库实例名.ora文件
2.备份一份密码文件(一定要哦,避免发生意外哦)
3.生成新的密码文件,在dos控制台下输入命令
orapwd file=PWD数据库实例名.ora文件路径\PWD数据库实例名.ora password=新密码 entires=数值
说明:file表示密码文件全路径(要和刚刚搜索到的一致)
password表示新密码
entires表示登录sys最多的用户
如果希望新的密码生效,则需要重新启动数据库实例
特别说明,在dos下输入orapwd其有详细提示.
您可能感兴趣的文章:
相关内容
- plsql连接oracle数据库报ora 12154错误解决方法_oracle_
- oracle查询锁表与解锁情况提供解决方案_oracle_
- oracle怎么删除用户提供解决方案_oracle_
- 给Oracle添加split和splitstr函数的方法_oracle_
- bitmap 索引和 B-tree 索引在使用中如何选择_oracle_
- oracle 创建表空间详细介绍_oracle_
- Oracle存储过程基本语法介绍_oracle_
- oracle中lpad函数的用法详解_oracle_
- Oracle客户端的安装与远程连接配置方法分享_oracle_
- oracle客户端PLSQL连接失败解决方法_oracle_
