中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

連接12cR2 PDB報錯ORA-28040/ORA-01017

發布時間:2020-07-22 22:17:02 來源:網絡 閱讀:2865 作者:hbxztc 欄目:關系型數據庫

測試環境安裝了一套12cR2的數據庫,想要通過PL/SQL developer連接上數據庫,但是報錯

ORA-28040: No matching authentication protocol

連接12cR2 PDB報錯ORA-28040/ORA-01017

上網查了原因:Oracle 12c的參數SQLNET.ALLOWED_LOGON_VERSION默認等于11。當我們使用11g JDBC之前版本的thin驅動連接的時候,就會報錯。

于是按網上的方法解決方法來做:

數據庫服務器上的oracle/network/admin/sqlnet.ora文件添加一行SQLNET.ALLOWED_LOGON_VERSION=8

修改之后再次連接卻又報錯ORA-01017: invalid username/password; logon denied

連接12cR2 PDB報錯ORA-28040/ORA-01017

確認用戶名和密碼是沒問題的,但就是連接不上,在服務器端就可以連接

[oracle@t13s ~]$ sqlplus pdbadmin@pdb1

SQL*Plus: Release 12.2.0.1.0 Production on Fri Mar 17 10:25:22 2017

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Enter password: 
Last Successful login time: Thu Mar 16 2017 20:28:26 +08:00

Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

PDBADMIN@pdb1>

于是在MOS上搜索相關文檔,查到這樣一篇文章Client / Server Interoperability Support Matrix for Different Oracle Versions (文檔 ID 207303.1)

從文章中可以看出只有11.2.0.3及以上的版本的客戶端才能連接12.2版本的服務端。再檢查本地的Oracle客戶端的版本是11.2.0.1,原來是客戶端版本太低了,安裝12.1版本的客戶端,順利登錄。

MOS文章大致內容如下:

Client
Version
Server Version
12.2.0#1012.1.011.2.011.1.010.2.010.1.09.2.0
12.2.0YesYesYesNoNoNo#3No#3
12.1.0YesYesYesWasMDS #7No#3No#3
11.2.0Yes#9YesYesWasMDS #7NoWas #5
11.1.0NoWasWasWasWas #7Was #6Was #5
10.2.0NoMDS #7MDS #7Was #7MDSWasWas #5
10.1.0#4NoNoWas #6Was #6WasWasWas
9.2.0NoNo#8Was #5Was #5Was #5WasWas


Key:

YesSupported
ESSupported but fixes only possible for customers with Extended Support .
LES or MDSSupported but fixes only possible for customer with a valid Limited Extended Support or Market-Driven Support contract respectively.
WasWas a supported combination but one of the releases is no longer covered by any of Premier Support, Primary Error Correct support, Extended Support, nor Extended Maintenance Support. Fixes are no longer possible.
NoHas never been Supported

Specific Notes:

#1 - See Note:207319.1#2 - An ORA-3134 error is incorrectly reported if a 10g client tries to connect to an 8.1.7.3 or lower server. See Note:3437884.8 .#3 - An ORA-3134 error is correctly reported when attempting to connect to this version.#4 - There are problems connecting from a 10g client to 8i/9i where one is EBCDIC based. See Note:3564573.8#5 - For connections between 10.2 (or higher) and 9.2 the 9.2 end MUST be at 9.2.0.4 or higher. Connections between 10.2 (or higher) and 9.2.0.1, 9.2.0.2 or 9.2.0.3 have never been supported.#6 - For connections between 11.1 (or higher) database server and 10.1 / 10.2 database server across a database link the 10g end MUST be at 10.1.0.5 / 10.2.0.2 (or higher) respectively in order to use PLSQL between those versions. (This does not apply to normal 11g clients to 10g database server only server to server and a few very specific client products, such as Oracle Forms). See Note:4511371.8 for more details.#7 - For database link connections between 11.1 (or higher) and 10.2 the 10g end MUST be at 10.2.0.2 (or higher) in order to use PLSQL between those versions. See Note:4511371.8 for more details.#8 - Attempting to connect from 9.2 to 12.1 will fail with an "ORA-28040: No matching authentication protocol" error.#9 - 11.2.0.3 or 11.2.0.4 only. We do not support any 11.2 client interoperability with Oracle Database Exadata Express Cloud Service#10 - Includes Oracle Database Exadata Express Cloud Service - see Note:2183770.1 for additional details

General Notes:

  1. For database links between different Oracle versions connections must be supported in BOTH directions in the matrix above.
    eg: As 11.2 -> 10.1 is not supported then database links between these version are not supported in either direction.

  2. Unsupported combinations may appear to work but can encounter errors for particular operations. The fact that they appear to work should not be relied upon - issues on unsupported combinations will not be investigated.

  3. Since new database servers are compatible with a limited set of older OCI clients, it may not be necessary to upgrade the client software when upgrading the database. However, some new features may not work without upgrading the client software. For example, an Oracle 10.2 client is able to connect to an 11.2 database, but is not able to take advantage of newer features such as Client Result Cache (introduced in 11.1).

  4. Oracle Applications , or other Oracle products, may have supported configurations not listed in the matrix above.

  5. The matrix above also applies between different platforms and between 32/64 bit releases of Oracle client / server except where any Oracle platform desupport notice indicates otherwise .

  6. Unix BEQUEATH (BEQ) connections are NOT supported between different releases. eg: Client 10.2 is not supported to make an Oracle Net connection to a 11.2 server using the BEQ protocol adapter regardless of the interoperability support listed above. See Note:364252.1 for more details.



向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

林口县| 平阳县| 华容县| 桐梓县| 崇州市| 徐州市| 惠州市| 西昌市| 澄城县| 新宾| 兰考县| 株洲县| 宜昌市| 遂平县| 荆门市| 奉贤区| 永济市| 吴堡县| 鄂伦春自治旗| 黄陵县| 桃源县| 资讯| 汶川县| 黄石市| 德保县| 乌拉特前旗| 德令哈市| 沂源县| 富川| 松江区| 兰考县| 绥宁县| 阳江市| 镇安县| 镇沅| 贵定县| 镇巴县| 壶关县| 唐海县| 黄陵县| 汉寿县|