Oracle即时客户端12c EZConnect使用tcps而不是tcp

问题描述 投票:0回答:1

我下载了oracle即时客户端12.2.0.1.0,我尝试使用sql loader将csv数据加载到数据库中。我可以使用以下方法成功加载:

sqlLdr.exe userid=user/password@//192.9.200.228:1521/oracle ERRORS=4000 control=D:\temp\csma\xx_20190225.ctl log=D:\temp\csma\xx.log

但是我的生产只允许安全连接(使用tcps),我可以使用EZConnect的tcps吗?如果不是如何使用tcps仅使用即时客户端(不是完整客户端)连接?

oracle sql-loader
1个回答
0
投票

基于Instant Client的应用程序可以使用tnsnames.ora文件中的Net Service Name进行连接。 Instant Client安装说明(例如,the instructions for Linux x64)会告诉您将Oracle Net配置文件放在何处。创建默认位置,将文件放在那里,并更新应用程序中的连接字符串。

使用Oracle 19c,Easy Connect语法扩展为“Easy Connect Plus”,因此您可以在线指定钱包位置等内容,请参阅Oracle Net 19c文档中的 Understanding the Easy Connect Naming Method。尚未发布Instant Client 19c。

© www.soinside.com 2019 - 2024. All rights reserved.