"code": 40001, "msg": "DEException(code=40001, msg=Communications link failure\n\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)", "data": null

v2.10.17,安装后添加数据源报错

大佬们求帮助

网不通或者密码不对,依次检查下
检查网络的方式是服务器执行命令:
docker exec -it dataease nc -zv <数据库IP> <数据库端口>
输出open即可,否则,需排查网络问题

同样这个问题,可以确定的是网络是通的。

有时会出现宿主机网络通,但容器不同的情况,检查下容器内部是否通。另外如果是其他原因连接失败(比如用户密码错误)也有可能会报类似错误