Home  >  Article  >  Database  >  Oarcle中oracleHomeKey处理方法

Oarcle中oracleHomeKey处理方法

WBOY
WBOYOriginal
2016-06-07 17:18:123428browse

出现Oracle HomeKey这个错误一般有两种情况. 错误描述: Initialization error SQL*Net not properly installed OracleHomeKey: S

Linux公社

首页 → 数据库技术

背景:

阅读新闻

Oarcle中oracleHomeKey处理方法

[日期:2012-08-06] 来源:Linux社区  作者:ysj5125094 [字体:]

出现Oracle HomeKey这个错误一般有两种情况.

错误描述:

Initialization error

SQL*Net not properly installed

OracleHomeKey: SOFTWARE\ORACLE

OracleHomeDir:

解决方法:

1.利用一些辅助开发工具连接oracle中会报错.

此时需要修改一下注册表,增加一个字段串值.具体如下:

在注册表HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE这个位置新建一个字符串值ORACLE_HOME,把oracle的HOME值写进去.例如我的ORACLE_HOME为D:\oracle\product\10.2.0\db_1.你可以到其他目录下找到ORACLE_HOME,把需要的值拷贝到相应位置.

2.在连接PL/SQL时报错.

在PLSQL Developer选择Tools > Preferences > options或者connection > 找到这两个参数 "Oracle Home" and "OCI Library".选择自己想要的,比如我的是.ORACLE_HOME:OraDb10g_home1   OCI Library:D:\oracle\product\10.2.0\db_1\bin\oci.dll.

完成上述操作需要重启PL/SQL工具.

linux

  • 0
  • Linux平台下如何使用MySQL免安装版(二进制版)

    Oracle创建与扩建表空间(支持Linux)

    相关资讯       Oracle错误代码 

    图片资讯      

    本文评论   查看全部评论 (0)

    评论声明

    最新资讯

    本周热门

    Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
    本站(LinuxIDC)所刊载文章不代表同意其说法或描述,,仅为提供更多信息,也不构成任何建议。


    Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号

    Statement:
    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