windows7 下安装64位oracle用PL/SQL Developer连接报错问题
2014-08-14 23:32
579 查看
原文地址:http://www.cnblogs.com/gugnv/archive/2012/02/01/2335090.html
PLSQL Developer 连接Oracle X64版。
报错如下:
[Window Title]
(Not logged on)
[Content]
Initialization error
Could not initialize "C:\oracle\product\10.2.0\client_1\bin\oci.dll"
Make sure you have the 32 bits Oracle Client installed.
OracleHomeKey:
OracleHomeDir: C:\oracle\product\10.2.0\client_1
Found: oci.dll
Using: C:\oracle\product\10.2.0\client_1\bin\oci.dll
LoadLibrary(C:\oracle\product\10.2.0\client_1\bin\oci.dll) returned 0
原因:因为PLSQL developer 没有支持64位的版本
解决方法:
1.下载oracle提供的32 bit client,下载地址:http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html?ssSourceSiteId=ocomen
下载完成后解压随意目录:如:D:\instantclient_11_2
2.启动PL/SQL→Tools→Preferences→Oracle→Connection,设置Oracle Home和OCI Library
Oracle Home ------D:\instantclient_11_2
OCI Library--------D:\instantclient_11_2\ocl.dll
3.对系统的环境变量进行配置
主要需要以下两项:
变量名:TNS_ADMIN.
变量值:Oracle安装目录中的 ....../product/11.2.0/dbhome_1/NETWORK/ADMIN.
变量名:NLS_LANG.
变量值:AMERICAN_AMERICA(数据库字符编码 ).
(另外以下是安装Oracle就需要配置的,否则可能会有TNS协议适配器错误)
变量名:oracle_sid
变量值:Oracle的数据库实例
其中数据库字符编码可以通过进入SQL PLUS select userenv(‘language’) from dual;来查询。
这样重新启动一下PLSQL Developer,然后就能访问了。
PLSQL Developer 连接Oracle X64版。
报错如下:
[Window Title]
(Not logged on)
[Content]
Initialization error
Could not initialize "C:\oracle\product\10.2.0\client_1\bin\oci.dll"
Make sure you have the 32 bits Oracle Client installed.
OracleHomeKey:
OracleHomeDir: C:\oracle\product\10.2.0\client_1
Found: oci.dll
Using: C:\oracle\product\10.2.0\client_1\bin\oci.dll
LoadLibrary(C:\oracle\product\10.2.0\client_1\bin\oci.dll) returned 0
原因:因为PLSQL developer 没有支持64位的版本
解决方法:
1.下载oracle提供的32 bit client,下载地址:http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html?ssSourceSiteId=ocomen
下载完成后解压随意目录:如:D:\instantclient_11_2
2.启动PL/SQL→Tools→Preferences→Oracle→Connection,设置Oracle Home和OCI Library
Oracle Home ------D:\instantclient_11_2
OCI Library--------D:\instantclient_11_2\ocl.dll
3.对系统的环境变量进行配置
主要需要以下两项:
变量名:TNS_ADMIN.
变量值:Oracle安装目录中的 ....../product/11.2.0/dbhome_1/NETWORK/ADMIN.
变量名:NLS_LANG.
变量值:AMERICAN_AMERICA(数据库字符编码 ).
(另外以下是安装Oracle就需要配置的,否则可能会有TNS协议适配器错误)
变量名:oracle_sid
变量值:Oracle的数据库实例
其中数据库字符编码可以通过进入SQL PLUS select userenv(‘language’) from dual;来查询。
这样重新启动一下PLSQL Developer,然后就能访问了。
相关文章推荐
- windows7 下安装64位oracle用PL/SQL Developer连接报错问题
- windows7 下安装64位oracle用PL/SQL Developer连接报错问题
- windows7 下安装64位oracle用PL/SQL Developer连接报错问题
- windows7 下安装64位oracle11g用PL/SQL Developer连接报错问题
- windows7安装64位oracle11gR2 使用pl/sql developer连接oracle
- win8 系统中安装了oracle11g及PL/SQL Developer如何连接64位oracle
- 解决PL/SQL Developer 连接oracle 11g 64位中的问题
- 解决win7 64位操作系统下安装PL/SQL后连接报错问题: make sure you have the 32 bits oracle client installed
- 解决win7 64位操作系统下安装PL/SQL后连接报错问题: make sure you have the 32 bits oracle client installed
- [转]解决win7 64位操作系统下安装PL/SQL后连接报错问题: make sure you have the 32 bits oracle client installed
- Win8.1OS64位oracle11安装配置及PL/SQL Developer如何连接64位oracle
- Win8.1OS64位oracle11安装配置及PL/SQL Developer如何连接64位oracle
- Win8.1OS64位oracle11安装配置及PL/SQL Developer怎样连接64位oracle
- 解决win7 64位操作系统下安装PL/SQL后连接报错问题: make sure you have the 32 bits oracle client installed
- Windows7 Oracle11gR2 64 安装, 以及PL/SQL Developer连接问题
- oracle客户端免安装配置、64位机器PL/SQL和VS自带的IIS连接问题
- 64位WINDOWS 使用PL SQL DEVELOPER 连接ORACLE 出错问题解决
- pl/sql developer 连接64位oracle的问题与解决方法
- 解决win7 64位操作系统下安装PL/SQL后连接报错问题: make sure you have the 32 bits oracle client installed
- 64位win7安装使用PL/SQL developer连接Oracle 10g备忘