当前位置:网站首页>How to connect tdengine with idea database tool?
How to connect tdengine with idea database tool?
2022-07-25 08:48:00 【Tdengine】
Two years ago. , We have an article Blog Introduced how to pass IDEA database Tool connection TDengine, But this time TDengine、taos-jdbcdriver With a lot of iterative updates ,JDBC Connector Has gone from TDengine Independent from the warehouse . Some users in the community say they are using IDEA database Connect TDengine When an error , therefore , We decided to write a new article about IDEA Database management tool connection TDengine The article . This blog is based on the current 2.0.39 Version of JDBC Connector For example , Introduce how to compile with source code 、 pack , And how to use it IDEA Database tool connection TDengine.
Source code compilation JDBC-Connector
- First of all, from the GitHub Warehouse clones JDBC Connector source code ,
git clone GitHub - taosdata/taos-connector-jdbc: Connecting Java Application With a TDengine Database.( Need old version can -b Specify the corresponding version Branch ), Or set up :

- stay taos-connector-jdbc Execute under directory :mvn clean package -Dmaven.test.skip=true


Use IDEA database Connect TDengine
- open IDEA database Tools , Add... To the driver target Under folder taos-jdbcdriver-2.0.39-dist.jar.
- choice RESTful Way to connect ( Be careful : Use com.taosdata.jdbc.TSDBDriver Driver class needs to be installed TDengine client ).

- Then create the data source through the driver .TDengine Of JDBC URL The specification is :
jdbc:[TAOS|TAOS-RS]://[host_name]:[port]/[database_name]?[user={user}|&password={password}|&charset={charset}|&cfgdir={config_dir}|&locale={locale}|&timezone={timezone}] - Use RESTful Connect , here URL An example is :
jdbc:TAOS-RS://VM-24-8-centos:6041/log( The domain name used here needs to be in Hosts Add parsing in the file ;URL Internal locale、timezone Parameter in RESTful Not effective in connection )

- Click test connection , The yellow exclamation point does not affect the use .

- After the configuration , Right click the data source , Create a new query console to test whether you can query . It should be noted that ,RESTful Request is stateless , Inquire about 、 When writing, you need to bring the database name before the table name :

- 2.X The default in the version is log library , have access to
SHOW log.stablesQuery specific tables after checking which super tables are included 、 debugging .
Thank you for reading this blog , I hope the above is helpful to you . You are using TDengine This kind of TIme Series Database In the process of , If you encounter a difficult problem or have a problem with TDengine There are suggestions for improvement , Welcome to the GitHub Let's talk about Issue , The more detailed the content, the better , Can also be vx Add small T (tdengine) Join the community for friends , Communicate with you ~ Last , Thank you for using TDengine!
Want to know more TDengine Database Specific details of , Welcome to GitHub View the relevant source code on .
边栏推荐
- 英特尔就产品延误向Xe HPG寻宝游戏获奖者道歉并公布奖品样貌
- 【芝麻街一家】& Bert Bart RoBERTa
- Why use MQ message oriented middleware? These questions must be taken down!
- Wechat reservation of completed works of applet graduation project (4) opening report
- NVIDIA可编程推理加速器TensorRT学习笔记(二)——实操
- Efcore's solution of multi tenant zero script, table and database read-write separation under SaaS system
- Additional: SQL statement area / county in the lower half (data table)
- unity客户端读取文本配置
- Solving a random number problem
- Graduation project of wechat small program ordering system of small program completion works (7) Interim inspection report
猜你喜欢

C语言基础

阿里云服务的网络解决方案
![[ten thousand words long text] Based on LSM tree thought Net 6.0 C # realize kV database (case version)](/img/07/235785b7658b5ae022dfa3f53ec86d.png)
[ten thousand words long text] Based on LSM tree thought Net 6.0 C # realize kV database (case version)

机器人跳跃问题

51 single chip microcomputer key control LED light status

Apartment repair reporting system (idea, SSM, MySQL)

QA robot sequencing model

Ensembles in RNA counts data in TCGA_ ID to gene_ Method of ID

51单片机内部外设:串口通信

Wechat sports ground reservation applet graduation design of applet completion works (3) background function
随机推荐
Blue and white porcelain used by Charles
@Autowired注解的实现原理
This week's big news | FCC exposed Pico 4 VR all-in-one machine, and leipeng's parent company established a smart glasses laboratory
Qt|qlabole change line spacing when displaying multiple lines
Hash table questions (Part 1)
PHP reports an error: classes\phpexcel\cell php Line(594) Invalid cell coordinate ESIGN1
Additional: SQL statement area / county in the lower half (data table)
Wechat sports ground reservation applet graduation project of applet completion works (1) development outline
Basis 33: XPath acquisition methods of page elements under various browsers
nuscenes数据集3D MOT demo,端到端的目标检测和跟踪,检测跟踪联合框架
Rstudio shows that it can't connect to the web page, or it has a new website.
IP command usage details
Wechat reservation applet graduation design of applet completion works (3) background function
51 single chip microcomputer controls nixie tube display
Solutions to ten questions of leetcode database
51 single chip microcomputer key control LED light status
Talk about your transformation test development process
Wechat reservation applet graduation design of applet completion works (1) development outline
Source code of short video live broadcast system
[graduation project] cinema booking management system based on micro Service Framework