sys使用者執行 grant授權提示ORA-01031: insufficient privileges
在實驗環境下想要給使用者HR賦予dba許可權,結果執行grant命令時出現ORA-01031: insufficient privileges
解決問題很簡單,重新建立一次密碼檔案。下面是處理過程留作備忘。
SYS@snow > alter user hr identified by hr;
alter user hr identified by hr
*
ERROR at line 1:
ORA-01031: insufficient privileges
SYS@snow > exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
[oracle@snowlab ~]$
[oracle@snowlab ~]$ cd $ORACLE_HOME/dbs
[oracle@snowlab dbs]$ ll
total 48
-rw-rw---- 1 oracle oinstall 1544 Apr 24 14:46 hc_snow.dat
-rw-r--r-- 1 oracle oinstall 12920 May 3 2001 initdw.ora
-rw-r----- 1 oracle oinstall 8385 Sep 11 1998 init.ora
-rw-rw---- 1 oracle oinstall 24 Apr 24 10:54 lkSNOW
-rw-r----- 1 oracle oinstall 1536 Apr 24 14:03 orapwsnow
-rw-r----- 1 oracle oinstall 1536 Apr 24 13:32 orapwsnow.1429896722954
-rw-r----- 1 oracle oinstall 3584 Apr 24 14:46 spfilesnow.ora
重新建立一次密碼檔案
[oracle@snowlab dbs]$ orapwd file=orapwdsnow password=oracle entries=30 force=y
[oracle@snowlab dbs]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Apr 24 14:51:08 2015
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
再次執行授權成功
SYS@snow > grant dba to hr;
Grant succeeded.
SYS@snow >
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1606895/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle的SYS使用者登入報許可權不足(ORA-01031: insufficient privileges)Oracle
- sys使用者遠端登入報ORA-01031 insufficient privileges
- SYS使用者登入Oracle報錯ORA-01031: insufficient privilegesOracle
- SYS遠端連線出錯ORA-01031:Insufficient privileges
- 使用SYS使用者遠端登陸報許可權不足的解決:ORA-01031: insufficient privileges
- ORA-01031: insufficient privileges重新配置sys登入密碼密碼
- SQL> conn sys/sys@vm_sigle as sysdba; 報ORA-01031: insufficient privileges錯誤SQL
- Oracle 軟體克隆後sysdba登入提示沒有許可權ora-01031: insufficient privilegesOracle
- linux環境下sqlplus sys/sys@ORCL as sysdba報錯 ORA-01031: insufficient privilegesLinuxSQL
- ora-01031:insufficient privileges解決方法
- create view receive "ORA-01031: insufficient privileges"View
- Linux oracle ORA-01031: insufficient privilegesLinuxOracle
- ORA-01031: insufficient privileges的解決方法
- ORA-01031: insufficient privileges錯誤解決方法
- oracle grant 授權語句Oracle
- oracle rac dg庫報錯ORA-01031: insufficient privilegesOracle
- linux as 2.1 ORA-01031: insufficient privileges 解決方法Linux
- 在AIX 平臺下遇到ORA-01031: insufficient privilegesAI
- RMAN system 遠端連線 ORA-01031: insufficient privileges
- Oracle遠端登入報錯:ora-01031:insufficient privilegesOracle
- Oracle檢視授權(with grant option)Oracle
- Oracle/PLSQL: Grant/Revoke PrivilegesOracleSQL
- mysql 給了使用者所有許可權ALL PRIVILEGES,但是該使用者沒有grant許可權MySql
- sqlplus / as sysdba報錯ORA-01031: insufficient privileges的原因分析SQL
- conn / as sysdba 出現ORA-01031: insufficient privileges 解決辦法
- sys使用者使用@連線符提示無效許可權的錯誤ORA-01031:
- ORA-01031: 資料庫恢復時的insufficient privileges錯誤QS資料庫
- 儲存過程編譯報錯:PL/SQL:ORA-01031:insufficient privileges儲存過程編譯SQL
- oracle 10g linux 遠端登入 ORA-01031: insufficient privilegesOracle 10gLinux
- [20240826]奇怪ORA-01031 insufficient privileges報錯.txt
- 淺談MySQL中授權(grant)和撤銷授權(revoke)用法詳解MySql
- 11gR2 Restart Database SRVCTL啟動DB報ORA-01031: insufficient privilegesRESTDatabase
- sqlplus "/ as sysdba" 連不上,報ora-01031:insufficient privileges解決方法SQL
- Grant許可權導致執行計劃失效
- MySQL使用GRANT授權某使用者瀏覽和修改表許可權操作一例MySql
- mysql操作命令梳理(4)-grant授權和revoke回收許可權MySql
- 把Oracle的SQL執行計劃 授權給普通使用者OracleSQL
- SYS執行SQL報錯缺少許可權SQL