ORA-01017: invalid username/password; logon denied
Oracle rejected the credentials.
Seen on:
SQL
Meaning
Passwords are case-sensitive since 11g; also check you’re connecting to the right service/PDB, and that the account isn’t locked/expired (ORA-28000/28001).
Common causes
- Wrong password or case
- Wrong service name (CDB vs PDB)
- Old client vs new password verifier versions
⚡ Quick fix
- Reset the password
- Connect to the correct PDB service
- Check account_status in dba_users
Detailed fix by platform
SQL
ALTER USER app IDENTIFIED BY "NewPass1" ACCOUNT UNLOCK;
How to diagnose
- Account — Locked/expired?
- Service — Right PDB?
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 2 Oct 2026