java.sql.SQLNonTransientConnectionException:建立连接时发生通信错误

问题描述 投票:0回答:1

我正在尝试将我的 Ingres Database Workbranch 连接到 Ingres DB 并重新出现此错误

java.sql.SQLNonTransientConnectionException: Communications error while establishing connection.
at com.ingres.gcf.util.SqlExType.getSqlEx(SqlExType.java:97)
at com.ingres.gcf.util.SqlExFactory.get(SqlExFactory.java:68)
at com.ingres.gcf.util.SqlExFactory.get(SqlExFactory.java:158)
at com.ingres.gcf.util.SqlExFactory.get(SqlExFactory.java:197)
at com.ingres.gcf.dam.MsgIo.connect(MsgIo.java:357)
at com.ingres.gcf.dam.MsgOut.connect(MsgOut.java:325)
at com.ingres.gcf.dam.MsgIn.connect(MsgIn.java:343)
at com.ingres.gcf.dam.MsgConn.<init>(MsgConn.java:274)
at com.ingres.gcf.jdbc.DrvConn.connect(DrvConn.java:716)
at com.ingres.gcf.jdbc.DrvConn.<init>(DrvConn.java:462)
at com.ingres.gcf.jdbc.JdbcDrv.connect(JdbcDrv.java:590)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(JDBCConnection.java:206)
at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:104)
at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:72)
at org.eclipse.datatools.enablement.ingres.internal.connectivity.IngresConnectionFactory.createConnection(IngresConnectionFactory.java:60)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:355)
at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

我正在使用 Ingres JDBC 驱动程序 URL 看起来像

jdbc:ingres://internal_IP:ii7/DBName

我错过了什么吗?互联网没有给出任何解决方案。任何帮助表示赞赏

windows jdbc ingres
1个回答
-1
投票

你找到解决办法了吗?我遇到了同样的错误。

© www.soinside.com 2019 - 2024. All rights reserved.