解决Oracle 10gR2的client无法登陆Oracle 12.2数据库的问题
发布时间:2020-12-12 15:17:26 所属栏目:百科 来源:网络整理
导读:参考链接: http://www.jb51.cc/article/p-znahwtyf-ve.html 首先,在Oracle client端tnsping,结果是ok的. C:UsersAdministratortnsping highgo1TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production on 09-MAR-2017 13:57:58Copyright (c)
参考链接:
http://www.52php.cn/article/p-znahwtyf-ve.html 首先,在Oracle client端tnsping,结果是ok的. C:UsersAdministrator>tnsping highgo1 TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production on 09-MAR-2017 13:57:58 Copyright (c) 1997,2006,Oracle. All rights reserved. Used parameter files: H:oracleproduct10.2.0client_1networkadminsqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.80.12)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = highgo1))) OK (30 msec) 然后在Oracle Client端用sqlplus登录,是登录不上的: C:UsersAdministrator>sqlplus system/oracle@highgo1 SQL*Plus: Release 10.2.0.3.0 - Production on Thu Mar 9 13:58:17 2017 Copyright (c) 1982,Oracle. All Rights Reserved. ERROR: ORA-28040: No matching authentication protocol Enter user-name: 然后到Oracle 12.2的Server端的$ORACLE_HOME/network/admin/目录下, 修改sqlnet.ora文件,添加如下内容: SQLNET.ALLOWED_LOGON_VERSION_SERVER=10 SQLNET.ALLOWED_LOGON_VERSION_CLIENT=10修改之后,是立即生效的,不需要重启监听. 额外说明:如上仅仅是权宜之计,因为根据MOS文章: Client / Server Interoperability Support Matrix for Different Oracle Versions (Doc ID 207303.1) 10.2的client端和12.2的server端---这么用是不受支持的. 11.2.0.3/11.2.0.4的client端和12.2的server端---这么用是受支持的. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |