diff --git a/src/.vuepress/public/img/table-dbeaver-10.png b/src/.vuepress/public/img/table-dbeaver-10.png new file mode 100644 index 000000000..236af5584 Binary files /dev/null and b/src/.vuepress/public/img/table-dbeaver-10.png differ diff --git a/src/.vuepress/public/img/table-dbeaver-11.png b/src/.vuepress/public/img/table-dbeaver-11.png new file mode 100644 index 000000000..89ce26ac1 Binary files /dev/null and b/src/.vuepress/public/img/table-dbeaver-11.png differ diff --git a/src/.vuepress/public/img/table-dbeaver-12.png b/src/.vuepress/public/img/table-dbeaver-12.png new file mode 100644 index 000000000..b774b90d4 Binary files /dev/null and b/src/.vuepress/public/img/table-dbeaver-12.png differ diff --git a/src/.vuepress/public/img/table-dbeaver-8.png b/src/.vuepress/public/img/table-dbeaver-8.png new file mode 100644 index 000000000..7cafbc971 Binary files /dev/null and b/src/.vuepress/public/img/table-dbeaver-8.png differ diff --git a/src/.vuepress/public/img/table-dbeaver-9.png b/src/.vuepress/public/img/table-dbeaver-9.png new file mode 100644 index 000000000..35ec9ea98 Binary files /dev/null and b/src/.vuepress/public/img/table-dbeaver-9.png differ diff --git a/src/UserGuide/Master/Table/Ecosystem-Integration/DBeaver.md b/src/UserGuide/Master/Table/Ecosystem-Integration/DBeaver.md index c2044f4b7..ad56129dd 100644 --- a/src/UserGuide/Master/Table/Ecosystem-Integration/DBeaver.md +++ b/src/UserGuide/Master/Table/Ecosystem-Integration/DBeaver.md @@ -46,31 +46,43 @@ DBeaver is an SQL client and database management tool. It can interact with IoTD ``` 2. Launch DBeaver. -3. Create a new database connection: +3. Open Driver Manager - 1. Go to `DBeaver > Database > New Database Connection`, or click the `"+"` icon in the top-left corner. + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/01.png?raw=true) - ![](/img/table-dbeaver-1.png) +4. Create a new driver type for IoTDB - ![](/img/table-dbeaver-2.png) + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/02.png) - 2. Select the IoTDB driver (under `"All"` or `"Timeseries"` categories). +5. Download `iotdb-jdbc`, from [source1](https://maven.proxy.ustclug.org/maven2/org/apache/iotdb/iotdb-jdbc/) or [source2](https://repo1.maven.org/maven2/org/apache/iotdb/iotdb-jdbc/),choose the corresponding jar file,download the suffix `jar-with-dependencies.jar` file. - ![](/img/table-dbeaver-3.png) + ![](/img/table-dbeaver-8.png) - 3. Configure the connection based on your IoTDB model:(Username = Password = root) +6. Add the downloaded jar file, then select `Find Class`. - 1. For Tree Model: Use the default Host method + ![](/img/table-dbeaver-9.png) - ![](/img/table-dbeaver-4.png) +7. Edit the driver Settings - 2. For Table Model: Use the URL method and append `?sql_dialect=table` to enable table mode. + ![](/img/table-dbeaver-10.png) - ![](/img/table-dbeaver-5.png) +8. Open New DataBase Connection and select iotdb - 4. Click `Test` Connection – if successful, the IoTDB version will be displayed. + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/06.png) - ![](/img/table-dbeaver-6.png) +9. Edit JDBC Connection Settings + +``` +JDBC URL: jdbc:iotdb://127.0.0.1:6667/?sql_dialect=table +Username: root +Password: root +``` + +![](/img/table-dbeaver-11.png) + +10. Test Connection + + ![](/img/table-dbeaver-12.png) 4. You can now use IoTDB via DBeaver. diff --git a/src/UserGuide/latest-Table/Ecosystem-Integration/DBeaver.md b/src/UserGuide/latest-Table/Ecosystem-Integration/DBeaver.md index c2044f4b7..ad56129dd 100644 --- a/src/UserGuide/latest-Table/Ecosystem-Integration/DBeaver.md +++ b/src/UserGuide/latest-Table/Ecosystem-Integration/DBeaver.md @@ -46,31 +46,43 @@ DBeaver is an SQL client and database management tool. It can interact with IoTD ``` 2. Launch DBeaver. -3. Create a new database connection: +3. Open Driver Manager - 1. Go to `DBeaver > Database > New Database Connection`, or click the `"+"` icon in the top-left corner. + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/01.png?raw=true) - ![](/img/table-dbeaver-1.png) +4. Create a new driver type for IoTDB - ![](/img/table-dbeaver-2.png) + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/02.png) - 2. Select the IoTDB driver (under `"All"` or `"Timeseries"` categories). +5. Download `iotdb-jdbc`, from [source1](https://maven.proxy.ustclug.org/maven2/org/apache/iotdb/iotdb-jdbc/) or [source2](https://repo1.maven.org/maven2/org/apache/iotdb/iotdb-jdbc/),choose the corresponding jar file,download the suffix `jar-with-dependencies.jar` file. - ![](/img/table-dbeaver-3.png) + ![](/img/table-dbeaver-8.png) - 3. Configure the connection based on your IoTDB model:(Username = Password = root) +6. Add the downloaded jar file, then select `Find Class`. - 1. For Tree Model: Use the default Host method + ![](/img/table-dbeaver-9.png) - ![](/img/table-dbeaver-4.png) +7. Edit the driver Settings - 2. For Table Model: Use the URL method and append `?sql_dialect=table` to enable table mode. + ![](/img/table-dbeaver-10.png) - ![](/img/table-dbeaver-5.png) +8. Open New DataBase Connection and select iotdb - 4. Click `Test` Connection – if successful, the IoTDB version will be displayed. + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/06.png) - ![](/img/table-dbeaver-6.png) +9. Edit JDBC Connection Settings + +``` +JDBC URL: jdbc:iotdb://127.0.0.1:6667/?sql_dialect=table +Username: root +Password: root +``` + +![](/img/table-dbeaver-11.png) + +10. Test Connection + + ![](/img/table-dbeaver-12.png) 4. You can now use IoTDB via DBeaver. diff --git a/src/zh/UserGuide/Master/Table/Ecosystem-Integration/DBeaver.md b/src/zh/UserGuide/Master/Table/Ecosystem-Integration/DBeaver.md index b6f7bc6ad..dbe6b6884 100644 --- a/src/zh/UserGuide/Master/Table/Ecosystem-Integration/DBeaver.md +++ b/src/zh/UserGuide/Master/Table/Ecosystem-Integration/DBeaver.md @@ -45,30 +45,43 @@ DBeaver 是一个 SQL 客户端和数据库管理工具。DBeaver 可以使用 I ``` 2. 启动 DBeaver -3. 新建 Database Connection +3. 打开 Driver Manager - 1. 点击 DBeaver > Database > New Database Connection,或者直接点击左上角图标 + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/01.png?raw=true) +4. 为 IoTDB 新建一个驱动类型 - ![](/img/table-dbeaver-1.png) - - 2. 选择 IoTDB 驱动(可在 All 或 Timeseries 分类中找到) + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/02.png) - ![](/img/table-dbeaver-2.png) +5. 下载 jdbc 驱动, 点击下列网址 [地址1](https://maven.proxy.ustclug.org/maven2/org/apache/iotdb/iotdb-jdbc/) 或 [地址2](https://repo1.maven.org/maven2/org/apache/iotdb/iotdb-jdbc/),选择对应版本的 jar 包,下载后缀 jar-with-dependencies.jar 的包 - 3. 根据要连接的IoTDB是树模型或表模型,选择不同的连接方式(Username = Password = root) + ![](/img/table-dbeaver-8.png) - 1. 欲连接树模型IoTDB,使用默认的Host方法进行连接即可,如下图所示 +6. 添加刚刚下载的驱动包,点击 Find Class - ![](/img/table-dbeaver-3.png) + ![](/img/table-dbeaver-9.png) - 2. 欲连接表模型IoTDB,使用URL方法连接,需在URL后面添加 ?sql_dialect=table 启用表模式 +7. 编辑驱动设置 - ![](/img/table-dbeaver-4.png) + ![](/img/table-dbeaver-10.png) - 4. 通过 Test Connection 测试连接,能够显示对应的IoTDB版本号即连接成功 +8. 新建 DataBase Connection, 选择 iotdb - ![](/img/table-dbeaver-5.png) + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/06.png) -4. 可以开始通过 DBeaver 使用 IoTDB +9. 编辑 JDBC 连接设置 -![](/img/table-dbeaver-6.png) \ No newline at end of file +``` +JDBC URL: jdbc:iotdb://127.0.0.1:6667/?sql_dialect=table +Username: root +Password: root +``` + + ![](/img/table-dbeaver-11.png) + +10. 测试连接 + + ![](/img/table-dbeaver-12.png) + +11. 可以开始通过 DBeaver 使用 IoTDB + +![](/img/table-dbeaver-7.png) \ No newline at end of file diff --git a/src/zh/UserGuide/latest-Table/Ecosystem-Integration/DBeaver.md b/src/zh/UserGuide/latest-Table/Ecosystem-Integration/DBeaver.md index fdef519f2..dbe6b6884 100644 --- a/src/zh/UserGuide/latest-Table/Ecosystem-Integration/DBeaver.md +++ b/src/zh/UserGuide/latest-Table/Ecosystem-Integration/DBeaver.md @@ -45,32 +45,43 @@ DBeaver 是一个 SQL 客户端和数据库管理工具。DBeaver 可以使用 I ``` 2. 启动 DBeaver -3. 新建 Database Connection +3. 打开 Driver Manager - 1. 点击 DBeaver > Database > New Database Connection,或者直接点击左上角图标 + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/01.png?raw=true) +4. 为 IoTDB 新建一个驱动类型 - ![](/img/table-dbeaver-1.png) + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/02.png) - ![](/img/table-dbeaver-2.png) - - 2. 选择 IoTDB 驱动(可在 All 或 Timeseries 分类中找到) +5. 下载 jdbc 驱动, 点击下列网址 [地址1](https://maven.proxy.ustclug.org/maven2/org/apache/iotdb/iotdb-jdbc/) 或 [地址2](https://repo1.maven.org/maven2/org/apache/iotdb/iotdb-jdbc/),选择对应版本的 jar 包,下载后缀 jar-with-dependencies.jar 的包 - ![](/img/table-dbeaver-3.png) + ![](/img/table-dbeaver-8.png) - 3. 根据要连接的IoTDB是树模型或表模型,选择不同的连接方式(Username = Password = root) +6. 添加刚刚下载的驱动包,点击 Find Class - 1. 欲连接树模型IoTDB,使用默认的Host方法进行连接即可,如下图所示 + ![](/img/table-dbeaver-9.png) - ![](/img/table-dbeaver-4.png) +7. 编辑驱动设置 - 2. 欲连接表模型IoTDB,使用URL方法连接,需在URL后面添加 ?sql_dialect=table 启用表模式 + ![](/img/table-dbeaver-10.png) - ![](/img/table-dbeaver-5.png) +8. 新建 DataBase Connection, 选择 iotdb - 4. 通过 Test Connection 测试连接,能够显示对应的IoTDB版本号即连接成功 + ![](/img/UserGuide/Ecosystem-Integration/DBeaver/06.png) - ![](/img/table-dbeaver-6.png) +9. 编辑 JDBC 连接设置 -4. 可以开始通过 DBeaver 使用 IoTDB +``` +JDBC URL: jdbc:iotdb://127.0.0.1:6667/?sql_dialect=table +Username: root +Password: root +``` + + ![](/img/table-dbeaver-11.png) + +10. 测试连接 + + ![](/img/table-dbeaver-12.png) + +11. 可以开始通过 DBeaver 使用 IoTDB ![](/img/table-dbeaver-7.png) \ No newline at end of file