Home / Oracle Errors / ORA-01017

ORA-01017

Invalid username/password; logon denied

What it means

The credentials did not match what the database holds.

Common causes

How to fix it

  1. Retype the password and check the service name you connect to
  2. Reset it as a DBA: ALTER USER <user> IDENTIFIED BY "<NewPassword>";
  3. Check the account status: SELECT username,account_status FROM dba_users WHERE username='<USER>';
  4. For old clients check SQLNET.ALLOWED_LOGON_VERSION_SERVER in sqlnet.ora

How to prevent it

Use a password vault and avoid special characters that shells misread.

Still stuck? Ask the community in Q&A.

Get the weekly Vismo digestNew Oracle articles and Q&A in your inbox. No spam.

One email a week. Unsubscribe any time.