Unable to connect as sysdba to the Oracle database
Problem
Error when trying to connect the Oracle database as sysdba.
Getting ‘ORA-01017: invalid username/password: logon denied’
Solution
Go to E:\app\oracle\product\19.3.0\dbhome_1\network\admin folder
In sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES = (NONE)
#SQLNET.AUTHENTICATION_SERVICES = (NTS)
Change to
SQLNET.AUTHENTICATION_SERVICES = (NTS)
#SQLNET.AUTHENTICATION_SERVICES = (NONE)
Start all services including Oracle.
Opened a cmd prompt and now you should be able to connect as
[oracle]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 – Production on Thu Dec 10 05:42:10 2024
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 – Production
Version 19.3.0.0.0
successfully Connected.
Telegram App:https://t.me/oracledbwr
LinkedIn:https://www.linkedin.com/in/hariprasathdba
Facebook:https://www.facebook.com/HariPrasathdba
FB Group:https://www.facebook.com/groups/894402327369506/
FB Page : https://www.facebook.com/dbahariprasath/?
Twitter : https://twitter.com/hariprasathdba