zoukankan      html  css  js  c++  java
  • PLSQL连接Oracle 数据库配置详解

    1. 下载instantclient-basic-win32-11.2.0.1.0

    (oracle官网下载地址:http://www.oracle.com/technetwork/topics/winsoft-085727.html , 下载地址2:http://download.csdn.net/detail/czw2010/5732241)

       2. 解压instantclient-basic-win32-11.2.0.1.0并放置在oracle安装目录的product下(放置位置无强制要求,可随意放置),如下图:

      3. 拷贝D:appAdministratorproduct11.2.0dbhome_1NETWORKADMIN下的tnsnames.ora文件到instantclient_11_2下。

     4. 打开PLSQL Developer,选择Tools -> perference -> Connection,配置其中的Oracle Home和OCI Library项,如下图所示:

    其中, Oracle Home:D:appAdministratorproductinstantclient_11_2

      OCI Library:D:appAdministratorproductinstantclient_11_2oci.dll

             5.  配置系统环境变量

                右击"我的电脑" - "属性" - "高级" - "环境变量" - "系统环境变量":
                1>.选择"Path" - 点击"编辑", 把 "D:appAdministratorproductinstantclient_11_2;" 加入;
                2>.点击"新建", 变量名设置为"TNS_ADMIN", 变量值设置为"D:appAdministratorproductinstantclient_11_2;", 点击"确定";
                3>.点击"新建", 变量名设置为"NLS_LANG", 变量值设置为"SIMPLIFIED CHINESE_CHINA.ZHS16GBK", 点击"确定";

  • 相关阅读:
    JSChart_页面图形报表
    hdu 2602(dp)
    hdu 1518(dfs)
    hdu 1716(dfs)
    hdu 1002大数(Java)
    SPOJ 375. Query on a tree (树链剖分)
    poj 1091 跳蚤
    HDU 4048 Zhuge Liang's Stone Sentinel Maze
    HDU Coprime
    HDU Machine scheduling
  • 原文地址:https://www.cnblogs.com/mingforyou/p/7110459.html
Copyright © 2011-2022 走看看