Home > Database > Mysql Tutorial > Navicat连接Oracle 报 ORA-12737 set CHS16GBK错误的解决方案

Navicat连接Oracle 报 ORA-12737 set CHS16GBK错误的解决方案

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:01:04
Original
1696 people have browsed it

下载安装了navicat 9.0 Premium(高级英文版),连接mysql正常,看到他同时支持oracle、sqlite和postgresql,也想来连接一下orac

下载安装了navicat 9.0 Premium(高级英文版),连接mysql正常,看到他同时支持Oracle、sqlite和postgresql,也想来连接一下oracle,进行集中管理。

1、但是连接时候先是报出监听错误、不能解析oracle SID标识符,我用sqlplus和plsql连接却是正常的!!!这说明我的配置文件是没有问题的。

2、重新将连接方式由TNS改为BASIC,然后依次填写连接信息,最后却爆出了“ORA-12737: Instant Client Light: unsupported server character set CHS16GBK”的错误。

3、确定是字符集问题后,google上查到类似的解决方案:

ORA-12737: Instant Client Light: unsupported server character set CHS16GBK
Google,解释如下:
ORA-12737:
Instant Client Light: unsupported server character set string
Cause:     The character set specified is not allowed for this operation or is invalid. Instant Client Light has only minimal character sets.
Action:     Do not use Instant Client Light for this character set

4、原因明确了之后,就要怎么解决了。修改服务器的字符集不太现实。后来研究了OCI,知道Instance Client 10是不支持除英文以外的编码的(如果你下载的是中文版的navicat可能不会有这个问题)。
5、去oracle官网下载最新版的OCI:
6、同时在Oracle官网上发现Instance Client 11要比10大很多,下载完成后将解压出来的核心的oci11的3个文件替换掉原先的oci10的3个文件即可。(记得做个备份)
替换方法:在Navicat里,工具->选项->Miscellaneous->OCI。为oci.dll重新指定位置,然后重启navicat就OK了。
重启Navicat最后证明Instance Client 11没有字符集问题。

Navicat连接Oracle 报 ORA-12737 set CHS16GBK错误的解决方案

Navicat连接Oracle 报 ORA-12737 set CHS16GBK错误的解决方案


 

Navicat连接Oracle 报 ORA-12737 set CHS16GBK错误的解决方案



 
PS: 本机是xp SP3系统,,Oracle是10.2,navicat 9.0 Premium English版本。

linux

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template