美文网首页
Windows访问centos7中TDengine,报错:can

Windows访问centos7中TDengine,报错:can

作者: funOfFan | 来源:发表于2021-05-03 23:03 被阅读0次

问题描述
windwos中安装了TDengine-client,虚拟机CentOS7中安装了TDengine-server。通过Windows中的client访问centos7中的server,能够正常查看TDengine中的表结构等信息,但是只要一发起select操作,就会报错,类似”can not resolve FQCN“

解决方法

  • systemctl stop taosd,关闭TDengine server 服务
  • 修改/var/lib/taos/dnode目录下的dnodeEps.json、mnodeEpSet.json两个文件,将其中的主机名均更换为实际的主机名


    image.png
  • 向/etc/hosts追加最后一行内容:当前虚拟机的IP地址、当前虚拟机主机名


    image.png
  • systemctl start taosd,重新启动TDengine服务
  • 使用windows客户端访问centos中的taosd服务,并查询


    image.png

相关文章

网友评论

      本文标题:Windows访问centos7中TDengine,报错:can

      本文链接:https://www.haomeiwen.com/subject/ocvqdltx.html