跳至主要內容

...大约 1 分钟

DBeaver-IoTDB

DBeaver 是一个 SQL 客户端和数据库管理工具。DBeaver 可以使用 IoTDB 的 JDBC 驱动与 IoTDB 进行交互。

DBeaver 安装

IoTDB 安装

连接 IoTDB 与 DBeaver

  1. 启动 IoTDB 服务

    ./sbin/start-server.sh
    
  2. 启动 DBeaver

  3. 打开 Driver Manager

  4. 为 IoTDB 新建一个驱动类型

  5. 下载源代码open in new window,解压并运行下面的命令编译 jdbc 驱动

    mvn clean package -pl jdbc -am -DskipTests -P get-jar-with-dependencies
    
  6. jdbc/target/下找到并添加名为apache-iotdb-jdbc-{version}-jar-with-dependencies.jar的库,点击 Find Class

  7. 编辑驱动设置

  8. 新建 DataBase Connection, 选择 iotdb

  9. 编辑 JDBC 连接设置

JDBC URL: jdbc:iotdb://127.0.0.1:6667/
Username: root
Password: root
  1. 测试连接
  1. 可以开始通过 DBeaver 使用 IoTDB

Copyright © 2024 The Apache Software Foundation.
Apache and the Apache feather logo are trademarks of The Apache Software Foundation

Have a question? Connect with us on QQ, WeChat, or Slack. Join the community now.