Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ava.sql.SQLException: JNI ERROR (0x2354): Unable to establish connection #21892

Open
hucaicai opened this issue Jun 28, 2023 · 1 comment
Open
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@hucaicai
Copy link

Caused by: java.sql.SQLException: JNI ERROR (0x2354): Unable to establish connection
at com.taosdata.jdbc.TSDBError.createSQLException(TSDBError.java:85)
at com.taosdata.jdbc.TSDBJNIConnector.connect(TSDBJNIConnector.java:82)
at com.taosdata.jdbc.TSDBConnection.connect(TSDBConnection.java:35)
at com.taosdata.jdbc.TSDBConnection.(TSDBConnection.java:21)
at com.taosdata.jdbc.TSDBDriver.connect(TSDBDriver.java:160)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:358)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:477)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:560)
at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:115)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:158)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:116)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)

请问是什么原因?
客户端版本:TDengine-client-3.0.4.1

@hucaicai hucaicai added help wanted Extra attention is needed question Further information is requested labels Jun 28, 2023
@sangshuduo
Copy link
Contributor

官网文档搜索 Unable to establish connection 可以搜到排查方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
2 participants