The error ORA-01017: invalid username/password; logon denied in Oracle Database means that Oracle is not accepting the login credentials you are using.
🔴 What ORA-01017 Means
👉 The username or password is incorrect, or Oracle cannot authenticate the user.
🔎 Common Causes & Fixes
1️⃣ Wrong Username or Password
Double-check credentials:
sqlplus username/password
⚠️ Password is case-sensitive in modern Oracle versions.
🛠Quick Troubleshooting Checklist
✔ Verify username/password
✔ Check case sensitivity
✔ Check account lock status
✔ Check password expiry
✔ Verify TNS/service name
✔ Check DB link credentials
📊 Real Production Example
sqlplus emp/test123@PRODDB
Error:
ORA-01017
👉 Root cause:
-
Password changed but not updated in application
✅ Fix Example
ALTER USER emp IDENTIFIED BY new_password;
Update application config with new password.
⭐ DBA Tip
Run this to verify user:
SELECT username, account_status
FROM dba_users
WHERE username='EMP';
💡 Important
👉 If login works in one environment but fails in another → check:
-
DB link credentials
-
Application config
-
TNS entries
No comments:
Post a Comment