首页 > 数据库 >Navicat 连接Oracle ORA-28547: connection to server failed, probable Oracle Net admin error

Navicat 连接Oracle ORA-28547: connection to server failed, probable Oracle Net admin error

时间:2022-12-27 14:22:13浏览次数:70  
标签:jdbc probable admin oracle connection Oracle 连接 ORA

Navicat 连接 Oracle 报 ORA-03135: connection lost contact
ORA-28547: connection to server failed, probable Oracle Net admin error
oci.dll 版本太低,需要重新下载并指定

下载:instantclient-basic-windows.x64-21.7.0.0.0dbru.zip

image

image
image
image
image

his:
  #Oracle
  driver-class-name: oracle.jdbc.driver.OracleDriver  
  #url: jdbc:oracle:thin:@//<host>:<port>/<SERVICE_NAME>  服务名的方式连接
  #url: jdbc:oracle:thin:@<host>:<port>:<SID>             SID 的方式连接
  url: jdbc:oracle:thin:@172.16.17.4:1521/his_db
  username: his
  password: hispwd
  #用来检测连接是否有效的sql 必须是一个查询语句( mysql中为 select 'x'  oracle中为 select 1 from dual)
  validation-query: select 1 from dual 
  #将MyBatis Mapper xml 放到 jar 包外面,发布时改成 file:mapper/hospital/*.xml
  mapper-locations: classpath*:mapper/hospital/*.xml

标签:jdbc,probable,admin,oracle,connection,Oracle,连接,ORA
From: https://www.cnblogs.com/vipsoft/p/17007998.html

相关文章