Home > Database > Mysql Tutorial > PLSQL Developer连接Oracle 10g或Oracle 11g失败

PLSQL Developer连接Oracle 10g或Oracle 11g失败

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:58:57
Original
1216 people have browsed it

在使用PLSQL Developer链接Oracle9i时只要配置了Net Configuration Assistant并测试成功以后,在用PLSQL Dev连接上就可以是使用了

在使用PLSQL Developer链接Oracle9i时只要配置了Net Configuration Assistant并测试成功以后,在用PLSQL Dev连接上就可以是使用了。但是在连接Oracle10g时,,出现不能链接的问题,出现以下这个提示:

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

PL/SQL Developer - (Not logged on)

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

Initialization error

SQL*Net not properly installed

OracleHomeKey: SOFTWARE\ORACLE

OracleHomeDir:

.大概是因为Oracle10g和9i的安装目录结构变了,需要在PLSQL Developer中重新配置ORACLE_HOME and "OCI Library"的目录。

具体配置:

在PLSQL Developer选择Tools > Preferences > options > "Oracle Home" and "OCI Library",例如:

Oracle10g装在D:\oracle\

则:Oracle Home为D:\oracle\product\10.1.0

OCI Library为D:\oracle\product\10.1.0\Db_1\BIN\oci.dll

配置完以后重新启动PLSQL Developer,会发现登录界面多了一栏Connect as的内容。然后可以进行登录。

.配置前的情况:

PLSQL Developer连接Oracle 10g或Oracle 11g失败

.配置后情况:

PLSQL Developer连接Oracle 10g或Oracle 11g失败


然后填写相关内容则可以正常登录。

linux

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template