sqlplus / as sysdba command not working in 12c - oracle

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.

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?

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

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;

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.

How to set sysdba password in Oracle 11G

I tried to connect to database using sqlplus using below command :
sqlplus / as sysdba
I have used the same password that I had set while creating database and setting password for sys and sysdba. But it shows below error :
ORA-01017: invalid username/password; logon denied
How to connect to the database?
I have installed Oracle DB in local PC with Windows 10 as Operating System and administrator privileges.
Log on to your Windows server as a member of the Administrators group or a member of the ORA_DBA group.
Try the below steps
sqlplus /nolog
connect / as sysdba
Once connected, you can change the SYS password to something you know:
ALTER USER sys IDENTIFIED BY new_password;

How to connect to oracle with sys and sysdba correctly?

I want to connect to oracle as sys user with sysdba privil..
How can I do it using easy connection
I am doing so:
sqlplus sys/password#server:1521/orcl as sysdba
and getting error:
ORA-01017: invalid username/password; logon denied
Is it correct syntax?
Thanks.
You are trying to connect remotely as sysdba (port 1521 in your case). Connecting as sysdba from a remote location (over tcp or tcps) requires some extra steps:
Set the database parameter REMOTE_LOGIN_PASSWORDFILE = { shared | exclusive | none }.It should be set tp shared/exclusive.
Check your password file under $ORACLE_HOME/dbs/, which is being used for authentication when users login to the database as a sysdba. If the password file does not exist then create a new one (using orapwd) and set the password.

Resources