標籤:右擊 net chinese load library line 選擇 配置 style
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:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN下的tnsnames.ora檔案到instantclient_11_2下。
4. 開啟PLSQL Developer,選擇Tools -> perference -> Connection,配置其中的Oracle Home和OCI Library項,如所示:
其中, Oracle Home:D:\app\Administrator\product\instantclient_11_2
OCI Library:D:\app\Administrator\product\instantclient_11_2\oci.dll
5. 配置系統內容變數
右擊"我的電腦" - "屬性" - "進階" - "環境變數" - "系統內容變數":
1>.選擇"Path" - 點擊"編輯", 把 "D:\app\Administrator\product\instantclient_11_2;" 加入;
2>.點擊"建立", 變數名設定為"TNS_ADMIN", 變數值設定為"D:\app\Administrator\product\instantclient_11_2;", 點擊"確定";
3>.點擊"建立", 變數名設定為"NLS_LANG", 變數值設定為"SIMPLIFIED CHINESE_CHINA.ZHS16GBK", 點擊"確定";
PLSQL串連Oracle 資料庫配置詳解