TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

Caused by: java.sql.SQLException: TDengine Error: Unable to establish connection

Open lintao0701 opened this issue 5 years ago • 7 comments

使用docker安装的TDengine ,命令docker run -d -v /etc/taos:/etc/taos -p 6030:6030 -p 6035:6035 -p 6041:6041 -p 6030-6040:6030-6040/udp tdengine/tdengine:2.0.0.0 使用linux进入taos命令没有问题 image 但是使用windows客户端连接不上 image 项目打包到linux服务器运行也会报Unable to establish connection错误

image

不知道哪里出了问题,希望得到解决,谢谢。

lintao0701 avatar Mar 05 '21 08:03 lintao0701

是不是版本的问题呀客户端要和服务端版本一致

moziie avatar Mar 05 '21 09:03 moziie

升级16版本后我也遇到了

zed-hj avatar Mar 05 '21 10:03 zed-hj

pom更新到2.0.20,docker安装的服务端需要使用什么版本? 我是使用的 Uploading image.png…

lintao0701 avatar Mar 10 '21 07:03 lintao0701

image image

lintao0701 avatar Mar 10 '21 07:03 lintao0701

同感啊,我也是客户端能查,但是代码直接查taos就报这个错

chenqunjian avatar Mar 14 '21 02:03 chenqunjian

java.sql.SQLException: TDengine ERROR (8000000b): Unable to establish connection 环境都正常,客户端正常访问,jni无法访问。restful也没有问题。 版本:2.0.18 。driver: 2.0.18 ,2.0.20 均有此问题。

pope12389 avatar Apr 13 '21 03:04 pope12389

This issue is stale because it has been open for 30 days with no activity.

zyyang90 avatar May 19 '22 14:05 zyyang90