天天看點

navicat連接配接oracle資料庫報ORA-28547: connection to server failed, probable Oracle Net admin error錯誤的解決方法

navicat是通過oracle用戶端連接配接oracle伺服器的. oracle的用戶端有兩種,一種标準的用戶端安裝程式,下載下傳位址:

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

 而另外一種就是一種“簡潔版本”的用戶端,叫Oracle Instant Client,簡稱oci,下載下傳位址:

http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

navicat通常會在自己的安裝路徑下包含某個版本的OCI,

如果使用navicat連接配接Oracle伺服器時出現ORA-28547錯誤,

多數是因為navicat本地的OCI版本與Oracle伺服器器不符造成的。

解決方法就是去OCI的下載下傳頁面

選擇一個與伺服器相同版本的安裝到本地,

這裡是一個安裝文檔 http://wiki.navicat.com/wiki/index.php/Instant_client_required

在這個文檔裡有一點要特别注意:Download the appropriate Instant Client packages for your platform (must be 32-bit version, even you are using 64-bit Windows)

就是說:不管你的機器是不是32位的,都必須下載下傳32位的OCI!