L/SQL Developer 和 instantclient用戶端安裝配置

來源:互聯網
上載者:User

標籤:.dll   win   com   develop   檔案   instant   選項   工具   使用者名稱   

一: PL/SQL Developer 安裝

       下載安裝檔案安裝,我這裡的版本號碼是PLSQL7.1.4.1391,安裝目錄是:D:\soft\PLSQLDeveloper 

二:instantclient_10_2用戶端配置

        instantclient_10_2有以下兩種配置方法,選擇一種即可。

        方法一:

              1. 下載用戶端http://www.oracle.com/technetwork/topics/winsoft-085727.html  

                    

                   解壓至目錄:D:\soft\instantclient_10_2

              2. 安裝目錄下添加network和admin檔案夾和tnsnames.ora 檔案。

                   D:\soft\instantclient_10_2\network\admin\ tnsnames.ora,tnsnames.ora檔案內容:

                   

                   HOST:資料庫伺服器的IP

                   SERVICE_NAME: 資料庫執行個體的名稱,和SID一致 

        方法二:

                1.       同方法一下載用戶端解壓至解壓至目錄:D:\soft\instantclient_10_2

                2.       添加sqlnet.ora檔案D:\soft\instantclient_10_2\sqlnet.ora, sqlnet.ora檔案內容:

                          

                3.       編輯tnsnames.ora檔案D:\soft\instantclient_10_2\ tnsnames.ora, 檔案內容同方法一。

                4.       添加環境變數

                          變數名: TNS_ADMIN      變數值: D:\oracle_client\instantclient_10_2

                           

                          如果不添加該環境變數,登陸PL/SQL時,會提示錯誤:

                            

               5.       如果之前安裝了Oracle 又卸載,會遺留NLS_LANG=NA的索引值.輸入RegEdit開啟註冊表HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE.

                         在右面找到NLS_LANG=NA並刪除掉,否則會報ORA-12705: Cannot access NLS data files or invalid 錯誤 

三: 配置PL/SQL Developer

          開啟PL/SQL Developer,開啟“工具”菜單下的“喜好設定”

          Oracle主目錄名: D:\soft\instantclient_10_2

          OCI庫: D:\soft\instantclient_10_2\oci.dll

           

四:使用使用者名稱和密碼登陸PL/SQL Developer

         

L/SQL Developer 和 instantclient用戶端安裝配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.