ORA-01017 Invalid Username/Password logon denied when connecting to 19C database - oracle

I'm trying to connect to a schema on 19C local database. Ibefore it works very well but today I found this error ORA-01017: invalid username/password; logon denied .
The username and password are DEFINITELY correct - can anyone think of a reason why this wouldn't work?
plz any help

I fixed the issue by executing the commands below :
ALTER USER OPS$HR IDENTIFIED BY ... ACCOUNT UNLOCK;

Related

ORA-01017: invalid username/password; logon denied on Windows 10 (Oracle 12.2.0.1.0)

I'm using DBeaver to create a connection, but I'm seeing this error
Although I can connect with sys (as sysdba).
I tried to set sec_case_sensitive_logon=false and reset the password, it didn't help.
Any ideas?

Why is the command conn / as sysdba throwing an error in sqlplus?

Enter user-name: conn / as sysdba
Enter password:
ERROR:
ORA-01017: invalid username/password; logon denied
The special string / as sysdba tells Oracle to use OS Authentication instead of a username/password. Your OS (looks like Windows) is not authorizing you to connect to Oracle as sysdba.
Make sure your Windows user is a member of the ORA_DBA local group on that computer.

sqlplus / as sysdba command not working in 12c

sqlplus / as sysdba in not working with 12c
getting error ERROR:
ORA-01017: invalid username/password; logon denied
connection establishing only when provided username and password manually.

How to reset username and password for oracle

I am using
Run SQL Command Line
to connect with database, previously I am able to connect with username 'system' and password 'root' but when I tried to connect using SQL>connect system/root
it is showing error
ERROR:
ORA-01017: invalid username/password; logon denied
All services are running, after long time I am trying to connect may be I forgot my credentials can anyone help me how to change or reset both username and password I am on windows platform,
I too reset my password few days back.
You can reset your password by this
ALTER USER username IDENTIFIED BY password
Connect to db first
SQL> conn /as sysdba
More information Docs

ORA-12638 Credential retrieval failed and ORA-01031: insufficient privileges

in sqlnet.ora file:
when i have SQLNET.AUTHENTICATION_SERVICES= (NTS)
i can't connect by PL/SQL developer arises "ORA-12638 Credential retrieval failed"
,but can connect by command line
when i have SQLNET.AUTHENTICATION_SERVICES= (NONE)
i can't connect
>sqlplus / as sysdba
arises "ORA-01031: insufficient privileges"
,but can connect by PL/SQL developer and command line when i supply username and password
I was facing the exact same issue.
When I made the change to
SQLNET.AUTHENTICATION_SERVICES= (NONE) to resolve the ORA-12638 Credential retrieval failed.
I was then unable to connect with the sysdba privilege.
ORA-01031: insufficient privileges when sqlplus / as sysdba
The Solution:
I was able to find out, I could still connect as sysdba with the following command:
From within sqlplus:
connect sys as sysdba
From command line:
sqlplus sys as sysdba
In both cases, you will be prompted for your password. The password will be the same as your password that you setup for the SYSTEM user during the windows Oracle install.
Now you are connected with the sysdba rights you were trying to get with sqlplus / as sysdba.
The server administrator may not have setup NTS authentication on the database. You can't simply ask for your credentials to be authenticated by NTS in your client SQLNET.ORA file without agreement on the server side.

Resources