Skip to content

Commit a2e7243

Browse files
committed
adjust table dbeaver
1 parent 9d135db commit a2e7243

9 files changed

Lines changed: 104 additions & 56 deletions

File tree

157 KB
Loading
179 KB
Loading
117 KB
Loading
189 KB
Loading
134 KB
Loading

src/UserGuide/Master/Table/Ecosystem-Integration/DBeaver.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,31 +46,43 @@ DBeaver is an SQL client and database management tool. It can interact with IoTD
4646
```
4747
2. Launch DBeaver.
4848

49-
3. Create a new database connection:
49+
3. Open Driver Manager
5050

51-
1. Go to `DBeaver > Database > New Database Connection`, or click the `"+"` icon in the top-left corner.
51+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/01.png?raw=true)
5252

53-
![](/img/table-dbeaver-1.png)
53+
4. Create a new driver type for IoTDB
5454

55-
![](/img/table-dbeaver-2.png)
55+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/02.png)
5656

57-
2. Select the IoTDB driver (under `"All"` or `"Timeseries"` categories).
57+
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.
5858

59-
![](/img/table-dbeaver-3.png)
59+
![](/img/table-dbeaver-8.png)
6060

61-
3. Configure the connection based on your IoTDB model:(Username = Password = root)
61+
6. Add the downloaded jar file, then select `Find Class`.
6262

63-
1. For Tree Model: Use the default Host method
63+
![](/img/table-dbeaver-9.png)
6464

65-
![](/img/table-dbeaver-4.png)
65+
7. Edit the driver Settings
6666

67-
2. For Table Model: Use the URL method and append `?sql_dialect=table` to enable table mode.
67+
![](/img/table-dbeaver-10.png)
6868

69-
![](/img/table-dbeaver-5.png)
69+
8. Open New DataBase Connection and select iotdb
7070

71-
4. Click `Test` Connection – if successful, the IoTDB version will be displayed.
71+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/06.png)
7272

73-
![](/img/table-dbeaver-6.png)
73+
9. Edit JDBC Connection Settings
74+
75+
```
76+
JDBC URL: jdbc:iotdb://127.0.0.1:6667/?sql_dialect=table
77+
Username: root
78+
Password: root
79+
```
80+
81+
![](/img/table-dbeaver-11.png)
82+
83+
10. Test Connection
84+
85+
![](/img/table-dbeaver-12.png)
7486

7587
4. You can now use IoTDB via DBeaver.
7688

src/UserGuide/latest-Table/Ecosystem-Integration/DBeaver.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,31 +46,43 @@ DBeaver is an SQL client and database management tool. It can interact with IoTD
4646
```
4747
2. Launch DBeaver.
4848

49-
3. Create a new database connection:
49+
3. Open Driver Manager
5050

51-
1. Go to `DBeaver > Database > New Database Connection`, or click the `"+"` icon in the top-left corner.
51+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/01.png?raw=true)
5252

53-
![](/img/table-dbeaver-1.png)
53+
4. Create a new driver type for IoTDB
5454

55-
![](/img/table-dbeaver-2.png)
55+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/02.png)
5656

57-
2. Select the IoTDB driver (under `"All"` or `"Timeseries"` categories).
57+
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.
5858

59-
![](/img/table-dbeaver-3.png)
59+
![](/img/table-dbeaver-8.png)
6060

61-
3. Configure the connection based on your IoTDB model:(Username = Password = root)
61+
6. Add the downloaded jar file, then select `Find Class`.
6262

63-
1. For Tree Model: Use the default Host method
63+
![](/img/table-dbeaver-9.png)
6464

65-
![](/img/table-dbeaver-4.png)
65+
7. Edit the driver Settings
6666

67-
2. For Table Model: Use the URL method and append `?sql_dialect=table` to enable table mode.
67+
![](/img/table-dbeaver-10.png)
6868

69-
![](/img/table-dbeaver-5.png)
69+
8. Open New DataBase Connection and select iotdb
7070

71-
4. Click `Test` Connection – if successful, the IoTDB version will be displayed.
71+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/06.png)
7272

73-
![](/img/table-dbeaver-6.png)
73+
9. Edit JDBC Connection Settings
74+
75+
```
76+
JDBC URL: jdbc:iotdb://127.0.0.1:6667/?sql_dialect=table
77+
Username: root
78+
Password: root
79+
```
80+
81+
![](/img/table-dbeaver-11.png)
82+
83+
10. Test Connection
84+
85+
![](/img/table-dbeaver-12.png)
7486

7587
4. You can now use IoTDB via DBeaver.
7688

src/zh/UserGuide/Master/Table/Ecosystem-Integration/DBeaver.md

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,30 +45,43 @@ DBeaver 是一个 SQL 客户端和数据库管理工具。DBeaver 可以使用 I
4545
```
4646
2. 启动 DBeaver
4747

48-
3. 新建 Database Connection
48+
3. 打开 Driver Manager
4949

50-
1. 点击 DBeaver > Database > New Database Connection,或者直接点击左上角图标
50+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/01.png?raw=true)
51+
4. 为 IoTDB 新建一个驱动类型
5152

52-
![](/img/table-dbeaver-1.png)
53-
54-
2. 选择 IoTDB 驱动(可在 All 或 Timeseries 分类中找到)
53+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/02.png)
5554

56-
![](/img/table-dbeaver-2.png)
55+
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 的包
5756

58-
3. 根据要连接的IoTDB是树模型或表模型,选择不同的连接方式(Username = Password = root)
57+
![](/img/table-dbeaver-8.png)
5958

60-
1. 欲连接树模型IoTDB,使用默认的Host方法进行连接即可,如下图所示
59+
6. 添加刚刚下载的驱动包,点击 Find Class
6160

62-
![](/img/table-dbeaver-3.png)
61+
![](/img/table-dbeaver-9.png)
6362

64-
2. 欲连接表模型IoTDB,使用URL方法连接,需在URL后面添加 ?sql_dialect=table 启用表模式
63+
7. 编辑驱动设置
6564

66-
![](/img/table-dbeaver-4.png)
65+
![](/img/table-dbeaver-10.png)
6766

68-
4. 通过 Test Connection 测试连接,能够显示对应的IoTDB版本号即连接成功
67+
8. 新建 DataBase Connection, 选择 iotdb
6968

70-
![](/img/table-dbeaver-5.png)
69+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/06.png)
7170

72-
4. 可以开始通过 DBeaver 使用 IoTDB
71+
9. 编辑 JDBC 连接设置
7372

74-
![](/img/table-dbeaver-6.png)
73+
```
74+
JDBC URL: jdbc:iotdb://127.0.0.1:6667/?sql_dialect=table
75+
Username: root
76+
Password: root
77+
```
78+
79+
![](/img/table-dbeaver-11.png)
80+
81+
10. 测试连接
82+
83+
![](/img/table-dbeaver-12.png)
84+
85+
11. 可以开始通过 DBeaver 使用 IoTDB
86+
87+
![](/img/table-dbeaver-7.png)

src/zh/UserGuide/latest-Table/Ecosystem-Integration/DBeaver.md

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,32 +45,43 @@ DBeaver 是一个 SQL 客户端和数据库管理工具。DBeaver 可以使用 I
4545
```
4646
2. 启动 DBeaver
4747

48-
3. 新建 Database Connection
48+
3. 打开 Driver Manager
4949

50-
1. 点击 DBeaver > Database > New Database Connection,或者直接点击左上角图标
50+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/01.png?raw=true)
51+
4. 为 IoTDB 新建一个驱动类型
5152

52-
![](/img/table-dbeaver-1.png)
53+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/02.png)
5354

54-
![](/img/table-dbeaver-2.png)
55-
56-
2. 选择 IoTDB 驱动(可在 All 或 Timeseries 分类中找到)
55+
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 的包
5756

58-
![](/img/table-dbeaver-3.png)
57+
![](/img/table-dbeaver-8.png)
5958

60-
3. 根据要连接的IoTDB是树模型或表模型,选择不同的连接方式(Username = Password = root)
59+
6. 添加刚刚下载的驱动包,点击 Find Class
6160

62-
1. 欲连接树模型IoTDB,使用默认的Host方法进行连接即可,如下图所示
61+
![](/img/table-dbeaver-9.png)
6362

64-
![](/img/table-dbeaver-4.png)
63+
7. 编辑驱动设置
6564

66-
2. 欲连接表模型IoTDB,使用URL方法连接,需在URL后面添加 ?sql_dialect=table 启用表模式
65+
![](/img/table-dbeaver-10.png)
6766

68-
![](/img/table-dbeaver-5.png)
67+
8. 新建 DataBase Connection, 选择 iotdb
6968

70-
4. 通过 Test Connection 测试连接,能够显示对应的IoTDB版本号即连接成功
69+
![](/img/UserGuide/Ecosystem-Integration/DBeaver/06.png)
7170

72-
![](/img/table-dbeaver-6.png)
71+
9. 编辑 JDBC 连接设置
7372

74-
4. 可以开始通过 DBeaver 使用 IoTDB
73+
```
74+
JDBC URL: jdbc:iotdb://127.0.0.1:6667/?sql_dialect=table
75+
Username: root
76+
Password: root
77+
```
78+
79+
![](/img/table-dbeaver-11.png)
80+
81+
10. 测试连接
82+
83+
![](/img/table-dbeaver-12.png)
84+
85+
11. 可以开始通过 DBeaver 使用 IoTDB
7586

7687
![](/img/table-dbeaver-7.png)

0 commit comments

Comments
 (0)