网站建设资讯

NEWS

网站建设资讯

oracle密码文件的重建-创新互联

oracle11g的密码文件是在目录 /u01/app/oracle/product/11.2.0/dbhome_1/dbs下面

成都创新互联公司成立于2013年,我们提供高端网站建设公司重庆网站制作成都网站设计公司、网站定制、成都全网营销推广微信小程序、微信公众号开发、成都网站营销服务,提供专业营销思路、内容策划、视觉设计、程序开发来完成项目落地,为成都被动防护网企业提供源源不断的流量和订单咨询。

新建密码文件的命令

orapwd file=orapwcapaas(orapw+数据库SID) password=Oracle123(SYS用户的密码) entries=10 (大尝试次数)

orapwd file=orapwwubin01 password=oracle123 entries=10  (这个是对的)

orapwd file =orapwwubin01 password=oracle123 entries=10  (这个会报错,因为file =orapwdsid=号之前有空格)

报错详细信息:

Usage: orapwd file= entries= force= ignorecase= nosysdba=

 where

  file - name of password file (required),

  password - password for SYS will be prompted if not specified at command line,

  entries - maximum number of distinct DBA (optional),

  force - whether to overwrite existing file (optional),

  ignorecase - passwords are case-insensitive (optional),

  nosysdba - whether to shut out the SYSDBA logon (optional Database Vault only).

 There must be no spaces around the equal-to (=) character.

在遇到报错 ORA-01031 insufficient privileges的时候可以尝试重建密码文件

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


分享题目:oracle密码文件的重建-创新互联
地址分享:http://cdweb.net/article/eighe.html