操作系统是Windows 7 Enterprise X64版本 ,安装了Oracle 11g X64客户端,PLSQL Developer 连接Oracle 10g 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位的版本(PLSQL developer 是delphi开发,而这个开发工具本身就没有64位的);
PLSQL Develpoer官方下载地址 :http://www.allroundautomations.com/plsqldev.html.解决方法如下:去下载Oracle的 Instant Client (要下32bits的),官方下载地址 :http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
下载完之后解压到一个路径下,然后进入PLSQL Developer 8中--工具 -- 首选项 -- 里边的 Oracle主目录 和OCI库中,分别写入 Oracle Instant Client解压后的路径信息,如下:
Oracle主目录:Instant Client解压后的目录 ....../instantclient_11_2。
OCI库:Oracle主目录中的oci.dll文件 ....../instantclient_11_2/oci.dll。
以上配置其实是相当于替换了一下Oracle的客户端,接下来我们还需要对系统的环境变量进行配置。
主要需要以下两项:
变量名: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,然后就能访问了。
转自:http://susingjava.i.sohu.com/blog/view/185281866.htm
相关推荐
3D MAX 2011 注册机xf-a2011-64bits
ccd相机调试软件 大恒图像 相机驱动
uTorrent 是全球最流行的 BT客户端 ,同时也是全球最小巧的BT客户端。uTorrent集其它BT客户端的多数功能于一身,所以获得大家的青睐。功能包括:带宽优化、任务安排、RSS 自动下载和主流 DHT(与 BitComet 兼容)。...
大恒相机SDK,Galaxy_Windows_CN_32bits-64bits_1.15.2111.9031
大恒图像开发包,包含许多实用的应用案例,非常有用。
win7使用oracle-instantclient连接数据库oracle(64bits)
大恒相机自带软件
先解压,再运行exe文件,稍等1分钟左右,就可以看到你的笔记本电脑各硬件系统的具体型号,参数,厂家及运行状态,包括cpu,硬盘,内存,主板,显示器等。特别适用于win7 64位系统
TBtools_windows-64-bits-v0.655、TBtools_windows-64-bits-v0.655、TBtools_windows-64-bits-v0.655
cpu-z_1.62-64bits-cn.zip
open-jdk-11-64位 open-jdk-11-64位 open-jdk-11-64位 open-jdk-11-64位 open-jdk-11-64位
CPU-Z 自读文件 ------------------ Version 1.58 版本号 1.58 June 2011 2011年06月 Contact : cpuz@cpuid.com 联系我们 :cpuz@cpuid.com Web page: http://www.cpuid.com/cpuz.php 网站:...
Clang是一个由Apple主导编写,基于LLVM的C/C++/Objective-C编译器.快速编译和较少内存占用 ;有诊断功能;...https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/LLVM-12.0.0-win64.exe
Oracle SQL Developer 2.1.0.63.73 for 64bit-windows-no-jre下载地址: part1: http://download.csdn.net/source/1990232 part2: http://download.csdn.net/source/1990238 -------------------------------------...
安装ab软件后,现场维护需用低版本的如15、16、20等,尤其在win7 64位系统下很多授权方法不适用,此软件完美解决了问题,亲测可用!不敢私享,供大家享用。
解决64位操作系统PL/SQL不好连接Oracle数据,解决如下问题: Initialization error Could not initialize "D:\app\Happy\product\11.2.0\dbhome_1\bin\oci.dll" Make sure you have the 32 bits Oracle Client ...
Sent bits: 26 (7 bits) Received bits: 04 00 Sent bits: 93 20 Received bits: ae e2 63 6f 40 Sent bits: 93 70 ae e2 63 6f 40 ac 91 Received bits: 08 b6 dd Sent bits: 50 00 57 cd Found tag with UID: ...
大恒水星系列Windows驱动
cpu-z_1.62-32bits-cn.zip
网页视频下载工具,需要和Video DownloadHelper搭配使用。可以为你嗅探出网页中的视频文件,并且可以进行快速下载