PL/SQL Developer串連到Oracle 12c

來源:互聯網
上載者:User

標籤:

安裝32位的Oracle用戶端instantclient-basic-nt-12.1.0.1.0.zip

:http://www.oracle.com/technetwork/topics/winsoft-085727.html

下載解壓得到“instantclient_12_1”檔案,將 “instantclient_12_1”拷貝到“C:\app\oracle\product\12.1.0”(也可以任意路徑)。

安裝PLSQL Developer

:http://pan.baidu.com/s/1gdelc5d

安裝好開啟你會發現你的PLSQL_Developer不能正常串連到資料庫,沒有資料庫的初始化內容,:

拷"C:\app\oracle\product\12.1.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora"檔案到“C:\app\oracle\product\12.1.0\instantclient_12_1 \NETWORK\ADMIN”目錄下。這裡要說明一下,在“instantclient_12_1”目錄下沒有“NETWORK\ADMIN”目錄結構,所以你得自己手動建立,然後拷貝“tnsnames.ora”檔案。

ORCL =  (DESCRIPTION =    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))    (CONNECT_DATA =      (SERVER = DEDICATED)      (SERVICE_NAME = orcl)    )  )
配置PLSQL_Developer喜好設定

開啟PLSQL_Developer後,取消登陸,進入主介面。

1.點擊--工具(Tools)--喜好設定(Preferences)--串連:

2.把上面的登出改為提交 Commit

3.OCI庫改為帶有instantclient_12_1的路徑: C:\app\oracle\product\12.1.0\instantclient_12_1\oci.dll

4.應用--確定--關閉PLSQL_Developer重新運行。

解決PL/SQL Developer中文亂碼問題

查看註冊表值HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraDB12Home1

建立環境變數

變數名:NLS_LANG

變數值:SIMPLIFIED CHINESE_CHINA.ZHS16GBK

PL/SQL Developer串連到Oracle 12c

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.