ORA-28040: No matching authentication protocol

2018/1/15 14:06 赵振强 一个连接问题 弄了一个小时才搞好 ,两分钟紧急记录一下

客户端连接是 报这个错误

解决方式是 换了一个客户端

win32_11gR2_client 安装后

Plsql 首选项配置

OraClient11g_home1

OCI库 D:\app\zzq\product\12.1.0\dbhome_1\bin\oci.dll

修改文件配置 D:\app\zzq\product\12.1.0\dbhome_1\network\admin\sqlnet.ora

# This file is actually generated by netca. But if customers choose to

# install "Software Only", this file wont exist and without the native

# authentication, they will not be able to connect to the database on NT.

   

SQLNET.AUTHENTICATION_SERVICES = (NTS)

#SQLNET.ALLOWED_LOGON_VERSION_SERVER=8

#SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8

SQLNET.ALLOWED_LOGON_VERSION=8

修改环境变量

   

database读取不到数据
第一 TNS_ADMIN 配置环境变量,指定读取文件
tnsnames.ora的位置

第二 当TNS_ADMIN 配置后仍然不显示 则可能是 OCI库不显示该列表是因为64的工具用的32的 .oci文件,更换一个客户端即可

   

   

   

   

posted @ 2018-01-15 16:13  zhaozhenqiang  阅读(337)  评论(0编辑  收藏  举报