Home >Database >Mysql Tutorial >Eclipse连接Oracle数据库的ORA-00604 ORA-12705错误

Eclipse连接Oracle数据库的ORA-00604 ORA-12705错误

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 16:55:291771browse

用MyEclipse来连接Oracle数据库时出现了如下错误:ORA-00604: error occurred at recursive SQL level 1ORA-12705: Cannot acces

用MyEclipse来连接Oracle数据库时出现了如下错误:

ORA-00604: error occurred at recursive SQL level 1

ORA-12705: Cannot access NLS data files or invalid environment specified

到网上一搜都是关于Oracle编码的问题,,但是我用jdbc连接却没有问题,可以运行,于是想到是不是Eclipse本身的问题,最终终于在网上找到此问题的答案,原来是Eclipse的环境编码和Oracle的有冲突

Oracle在注册表中NLS_LANG值为SIMPLIFIED CHINESE_CHINA.ZHS16GBK

Eclipse启动时的配置文件Eclipse.ini的-Duser.language属性却为en

将en改为zh,问题解决

linux

Statement:
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