DBeaver-IoTDB

DBeaver is a SQL client software application and a database administration tool. It can use the JDBC application programming interface (API) to interact with IoTDB via the JDBC driver.

DBeaver Installation

IoTDB Installation

Connect IoTDB and DBeaver

  1. Start IoTDB server

    1. ./sbin/start-server.sh
  2. Start DBeaver

  3. Open Driver Manager

    DBeaver-IoTDB - 图4

  4. Create a new driver type for IoTDB

    DBeaver-IoTDB - 图5

  5. Download SourcesDBeaver-IoTDB - 图6open in new window,unzip it and compile jdbc driver by the following command

    1. mvn clean package -pl jdbc -am -DskipTests -P get-jar-with-dependencies
  6. Find and add a lib named apache-iotdb-jdbc-{version}-jar-with-dependencies.jar, which should be under jdbc/target/, then select Find Class.

    DBeaver-IoTDB - 图7

  7. Edit the driver Settings

    DBeaver-IoTDB - 图8

  8. Open New DataBase Connection and select iotdb

    DBeaver-IoTDB - 图9

  9. Edit JDBC Connection Settings

  1. JDBC URL: jdbc:iotdb://127.0.0.1:6667/
  2. Username: root
  3. Password: root

DBeaver-IoTDB - 图10

  1. Test Connection

DBeaver-IoTDB - 图11

  1. Enjoy IoTDB with DBeaver

DBeaver-IoTDB - 图12