Oracle 12.2 error when connecting to resolve the Ora-01017

Error when the application is switched to another machine running:: Recently, the customer response "Ora-01017: username / password is invalid; login is denied."

Check the configuration file, confirm the correct user name and password, and can be connected through plsql developer tools such as normal, explained another reason.

After investigation, the discovery of new running machine is installed oracle 12.1c client and the server is 12.2c, which is the cause of the Ora-01017 errors.

Solution:

1) in a server environment, modify the sqlnet.ora, add the following two lines:

SQLNET.ALLOWED_LOGON_VERSION_SERVER=10
SQLNET.ALLOWED_LOGON_VERSION_SERVER=10

Wherein the number represents the minimum version number of allowable connections.

2) restart the listener service: lsnrctl restart

3) to reset the user password again:

SQL> conn / as sysdba;
SQL>ALTER USER myuser IDENTIFIED BY mypassword;

 

Guess you like

Origin www.cnblogs.com/wggj/p/11224391.html