Oracle password file is case-sensitive
If you're having problems with your Oracle database password file, be sure the SID included as part of the file-name matches the case for the ORACLE_SID. The password file-name is case-sensitive.
For example, my ORACLE_SID equals prod, but my password file is named orapwPROD. When I query v$pwfile_users, no rows are returned.
SQL> select * from v$pwfile_users;
no rows selected
Recreate your password file with the SID in the correct case. In this instance, the password file should be named orapwprod. You'll then get the following output:
SQL> select * from v$pwfile_users;
USERNAME SYSDB SYSOP
------------------------------ ----- -----
SYS TRUE TRUE
For example, my ORACLE_SID equals prod, but my password file is named orapwPROD. When I query v$pwfile_users, no rows are returned.
SQL> select * from v$pwfile_users;
no rows selected
Recreate your password file with the SID in the correct case. In this instance, the password file should be named orapwprod. You'll then get the following output:
SQL> select * from v$pwfile_users;
USERNAME SYSDB SYSOP
------------------------------ ----- -----
SYS TRUE TRUE
Comments