码迷,mamicode.com
首页 > 数据库 > 详细

[oracle] 解决X64操作系统PL/SQL连接报错问题 make sure you have the 32 bits oracle client installed

时间:2016-02-29 16:35:52      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:

Windows 64位下装Oracle 11g 64位,PLSQL Developer使用出现以下问题:

1、Database下拉框为空:

 技术分享

2、强制输入用户名、密码及Database,登录弹出:

Initialzation error
Could not initialize
"...."
Make sure you have the 32 bits Oracle Client installed.

OracleHomeKey:
OracleHomeDir:...
Found:oci.dll
Using:
...
Loadlibrary(...)
returned 0

 技术分享

说明PLSQL Developer并不支持Oracle 64位客户端连接。

解决办法:

1、下载32位Oracle客户端

其实可以下载免安装版的,http://www.oracle.com/technetwork/topics/winsoft-085727.html,我下载的是instantclient-basic-nt-11.2.0.2.0.zip

2、解压

解压instantclient-basic-nt-11.2.0.2.0.zip,例如到D:\instantclient_11_2

3、设置PLSQL Developer

启动PLSQL Developer,不登录点取消进入PLSQL Developer,Tools->>Preferences:

Oracle Home:OraDb11g_home1(发现这里似乎可以随便写,我填的是安装的Oracle 11g 64位的)

OCI Library:D:\instantclient_11_2\oci.dll

技术分享

4、添加环境变量

TNS_ADMIN ->> D:\app\YangJin\product\11.2.0\dbhome_1\NETWORK\ADMIN

中文乱码问题:

启动PLSQL Developer,登录发现中文表名乱码:

技术分享

解决方法:

添加环境变量:NLS_LANG ->> AMERICAN_AMERICA.UTF8

 

转自:http://blog.csdn.net/microfhu/article/details/7585174

[oracle] 解决X64操作系统PL/SQL连接报错问题 make sure you have the 32 bits oracle client installed

标签:

原文地址:http://www.cnblogs.com/lonelywolfmoutain/p/5227559.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!