服务器重启后,数据库登录信息为空

1fc83d42fb74476fcbea26cfcbd35b9a.png

错误信息:

---------------------------

(Not logged on) - PL/SQL Developer

---------------------------

Initialization error

Could not initialize "D:\app\Administrator\product\11.2.0\dbhome_1\bin\oci.dll"

Make sure you have the 32 bits Oracle Client installed.

OCIDLL forced to D:\app\Administrator\product\11.2.0\dbhome_1\bin\oci.dll

LoadLibrary(D:\app\Administrator\product\11.2.0\dbhome_1\bin\oci.dll) returned 0

---------------------------

OK

---------------------------

5eb006268f1b712e1a44d0bbd12c0b7c.png

环境:win7  64位

PL/SQL Developer: Version 11.0.3.1770

解决方案

1. 从 http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html下载Oracle Client Package。 我下载的是Instant Client for Microsoft Windows (32-bit) 【instantclient-basiclite-nt-11.2.0.2.0.zip -》(instantclient_12_1.zip)】

2. 将 instantclient-basiclite-nt-11.2.0.2.0.zip 解压至 F:\instantclient_12_1 所在目录为:F:\instantclient_12_1

3. 启动PL/SQL Developer ,点击“取消”不要登录,菜单 --> Tools --> Perferences --> Connection 修改 Oracle_Home 和 OCI Library 的配置:

OracleHome: D:\app\Administrator\product\11.2.0\dbhome_1  (orcle 所在的安装目录)

OCI library: F:\instantclient_12_1\oci.dll  (解压的目录)

4.apply -》OK -》重启

75ff116b3a682deafd0824f52afd4899.png

时间: 06-12

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐