解决Oracle 10gR2的client无法登陆Oracle 12.2数据库的问题

参考链接:
http://blog.csdn.net/msdnchina/article/details/48193053
首先,在Oracle client端tnsping,结果是ok的.
[html]  view plain  copy
  在CODE上查看代码片 派生到我的代码片
  1. C:\Users\Administrator>tnsping highgo1  
  2.   
  3.   
  4. TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production on 09-MAR-2017 13:57:58  
  5.   
  6.   
  7. Copyright (c) 1997, 2006, Oracle.  All rights reserved.  
  8.   
  9.   
  10. Used parameter files:  
  11. H:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora  
  12.   
  13.   
  14.   
  15.   
  16. Used TNSNAMES adapter to resolve the alias  
  17. Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)  
  18. (HOST = 192.168.80.12)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = highgo1)))  
  19.   
  20.   
  21. OK (30 msec)  

然后在Oracle Client端用sqlplus登录,是登录不上的:
[html]  view plain  copy
  在CODE上查看代码片 派生到我的代码片
  1. C:\Users\Administrator>sqlplus system/oracle@highgo1  
  2.   
  3.   
  4. SQL*Plus: Release 10.2.0.3.0 - Production on Thu Mar 9 13:58:17 2017  
  5.   
  6.   
  7. Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.  
  8.   
  9.   
  10. ERROR:  
  11. ORA-28040: No matching authentication protocol  
  12.   
  13.   
  14.   
  15.   
  16. Enter user-name:  

然后到Oracle 12.2的Server端的$ORACLE_HOME/network/admin/目录下,
修改sqlnet.ora文件,添加如下内容:
[html]  view plain  copy
  在CODE上查看代码片 派生到我的代码片
  1. SQLNET.ALLOWED_LOGON_VERSION_SERVER=10  
  2. SQLNET.ALLOWED_LOGON_VERSION_CLIENT=10  
修改之后,是立即生效的,不需要重启监听.

额外说明:如上仅仅是权宜之计,因为根据MOS文章:

[html]  view plain  copy
  在CODE上查看代码片 派生到我的代码片
  1. Client / Server Interoperability Support Matrix for Different Oracle Versions (Doc ID 207303.1)  
  2. 10.2的client端和12.2的server端---这么用是不受支持的.  
  3. 11.2.0.3/11.2.0.4的client端和12.2的server端---这么用是受支持的.  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值