ORA-01994: GRANT failed: password file missing or disabled
给新加的用户分配sysdba权限,提示:
ORA-01994: GRANT failed: password file missing or disabled
1、查看密码文件是否存在:
ho ls $ORACLE_HOME/dbs/orapw*,文件存在
2、查看当前数据库:select name from v$database;
当前数据库是ORCL,非orcl
3、创建ORCL密码文件:
ho orapwd file=/data/app/oracle/product/11.2.0//dbs/orapwORCL password=oracle entries=10
4、重新分配权限:
grant create session to LU;
转载请记录来源!!!!
https://www.cnblogs.com/leihongnu/