ORA-28040: No matching authentication protocol

前端 未结 4 1361
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-06 09:23

I am facing this issue even after following the below settings.

  1. Replacing ojdbc14.jar with ojdbc6.jar[also tried ojdbc5.jar<

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-06 09:58

    First of all the difference between ojdbc driver's versions depends on the version of the JDK you use drivers with. So ojbdc14 is suitable for JDK version 1.4, ojdbc5 for JDK 1.5, and so on.

    I'm currently using ojdbc7.jar with a 12c database version since my environment uses a JDK 1.7, so upgrade this first.

    Having said that, in the Parameters for the sqlnet.ora File for Oracle 12c release page you can read:

    Purpose

    To set the minimum authentication protocol allowed for clients, and when a server is acting as a client, such as connecting over a database link, when connecting to Oracle Database instances.

    Usage Notes

    The term VERSION in the parameter name refers to the version of the authentication protocol, not the Oracle Database release.

    If the version does not meet or exceed the value defined by this parameter, then authentication fails with an ORA-28040: No matching authentication protocol error.

    The default for this property is 11.

    Allowed values are 8,10,11,12 and 12a.

    The recommended value is 12. Try this out.

    Moreover there is a useful and interesting solution Database Administrators Stack Exchange

提交回复
热议问题