Windows 64位下裝Oracle 11g 64位,32位PLSQL Developer使用出現以下問題:
1、Database下拉框為空:
2、強制輸入用戶名、密碼及Database,登錄彈出:
Initialzation error Could not initialize "...." Make sure you have the 32 bits Oracle Client installed. OCIDL forced to ... Loadlibrary(...) returned 0
說明PLSQL Developer並不支持Oracle 64位客戶端連接。
解決辦法:
1、下載32位Oracle客戶端
其實可以下載免安裝版的,http://www.oracle.com/technetwork/topics/winsoft-085727.html,我下載的是instantclient-basic-nt-11.2.0.2.0.zip。
2、解壓
解壓instantclient-basic-nt-11.2.0.2.0.zip,例如到D:\instantclient_11_2
3、設置PLSQL Developer
啟動PLSQL Developer,不登錄點取消進入PLSQL Developer,Tools->>Preferences:
Oracle Home:OraDb11g_home1(發現這里似乎可以隨便寫,不填也可以)
OCI Library:D:\instantclient_11_2\oci.dll