oracle11g的密碼文件是在目錄 /u01/app/oracle/product/11.2.0/dbhome_1/dbs下面
新建密碼文件的命令
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=<fname> entries=<users> force=<y/n> ignorecase=<y/n> nosysdba=<y/n>
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://vcdvsql.cn/article44/eighe.html
成都網站建設公司_創新互聯,為您提供面包屑導航、虛擬主機、軟件開發、外貿建站、ChatGPT、移動網站建設
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯