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

ORA-01994: GRANT failed: password file missing or disabled

 

 3、创建ORCL密码文件:

  ho orapwd file=/data/app/oracle/product/11.2.0//dbs/orapwORCL password=oracle entries=10

ORA-01994: GRANT failed: password file missing or disabled

 

 

4、重新分配权限:

  grant create session to LU;

ORA-01994: GRANT failed: password file missing or disabled

 

相关文章:

  • 2022-12-23
  • 2022-01-23
  • 2022-01-02
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
猜你喜欢
  • 2022-01-25
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案