首页 文章

使用Oracle sqlplus Instant客户端访问Oracle Wallet

提问于
浏览
0

我在Linux服务器上成功配置了Oracle钱包(Linux 2.6.32-642.4.2.el6.x86_64 GNU / Linux) .

When I try to execute the below command using Database connection string, it works perfect.

$ / sqlplus / @ TESTDB

SQL * Plus:版本11.2.0.3.0 生产环境 于2016年10月18日星期二07:12:49

版权所有(c)1982,2011,Oracle . 版权所有 .

连接到:Oracle Database 11g企业版11.2.0.4.0版 - 64位 生产环境 使用分区选项

SQL>

But, when I run the same command using sqlplus Instant Client, it's throwing the below error. Please help me to resolve this.

$ oracle / instantclient / 11.1.0.6.0-ml01 / .exec / x86-64.linux.2.6 / bin / sqlplus / @ TESTDB

SQL * Plus:版本11.1.0.6.0 - 生产环境 于2016年10月18日星期二07:14:38

版权所有(c)1982,2007,Oracle . 版权所有 .

错误:ORA-12534:TNS:不支持操作

Note: Any way, When I use the Instant sqlplus client to connect using username and password, it works fine.

/oracle/instantclient/11.1.0.6.0-ml01/.exec/x86-64.linux.2.6/bin/sqlplus USERNAME / PASSWORD @ TESTDB

SQL * Plus:版本11.1.0.6.0 - 生产环境 于2016年10月18日星期二07:16:46

版权所有(c)1982,2007,Oracle . 版权所有 .

连接到:Oracle Database 11g企业版11.2.0.4.0版 - 64位 生产环境 使用分区选项

SQL>

1 回答

  • 0

    您可能必须使用特定环境重新创建钱包 . 例如,当我定义了oracle-12环境时,我的oracle-11客户端钱包不起作用...反之亦然 . 我的客户端配置都不是即时客户端,但我认为“安全外部密码”(又名钱包)商店是特定于客户端的 .

相关问题