問題描述:plsql連結資料庫時提示initialization error,(本機系統是windows7 64位,遠端資料庫所在系統為windows server 2008 64位)
解決方案:
一、下載下傳
1、首先在oracle官網下載下傳instant client
位址為:http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html?ssSourceSiteId=ocomen
選擇Instant Client for Microsoft Windows(32-bit)
2、然後選擇相應的oracle資料庫版本,比如我所使用的是oracle 11g,Version 11.2.0.4.0
是以就找到相應的Version 11.2.0.4.0
選擇instantclient-basic-nt-11.2.0.4.0.zip
|
下載下傳後在自己的電腦上并解壓縮。如下圖:
在位址欄取這個檔案夾的位址。
1、先點選取消進入沒有登入的plsql
2、在工具中選擇首選項
3、在首選項的連接配接裡設定oci庫的位址,即為instant client 中的oci.dll檔案的位址(注意一定要有oci.dll)
D:\program\programmer\instantclient_11_2\oci.dll
4、儲存後重新打開plsql,就可以正常連接配接了。