PL/SQL连接Oracle数据库报错 OCI: not initialized 解决过程
先说答案
安装: microsoft visual c++ redistributable 2010 x64re
环境\软件
- Win10 操作系统
- plsqldev1406x64.msi
- instantclient-basic-windows.x64-12.1.0.2.0
- microsoft visual c++ redistributable 2010 x64re(下载后:vcredist_x64.exe)
OCI: not initialized
-
登录时:
-
在Support Info 中 TNS File是空的
TNS File
Using
Home:
DLL: D:\oracle_client\instantclient_12_1\oci.dll
OCI: not initialized
看了好些帖子,该配置的都配置了。但是就是不行。
有的文章说是PL/SQL 64位 和 instance_client 32 的原因,得都是64位或者32位的。
但是其实我的版本都是64位的,另外一个同事分享的软件,他是可以的。所以肯定不是软件的问题。
后面直接搜索 OCI: not initialized 找到的帖子说是 系统原因。
需要安装: microsoft visual c++ redistributable 2010 x64re
解决方法:
安装: microsoft visual c++ redistributable 2010 x64re
成功后的界面: