ORA-12631 While Connecting To The Database

(Doc ID 986865.1)

Last updated on NOVEMBER 10, 2016

Applies to:

Advanced Networking Option - Version and later
Information in this document applies to any platform.
Checked for relevance on 10-Jun-2013


While attempting to connect to the database the following error occurs:

sqlplus system/password@dbname
ORA-12631 "username retrieval failed"

The error occurs only when sqlnet.ora parameter:


is set.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms