Use DBeaver to connect to time series database TDengine

introduce

  1. TDengine is a high-performance, distributed, time-series database (Database) that supports SQL.

  2. DBeaver is a popular, open-source database management tool and SQL client that is powerful and supports any database that has a JDBC-Driver (which means almost all databases).

  3. You can use DBeaver to connect and manage TDengine with simple configuration.

Precondition

  1. DBeaver depends on Java (JDK) 11, but it is already included in the installation package. Optional installation of Maven, Git.
  2. TDengine has been installed and started.

configuration steps

  • Download the DBeaver installation package, official website address. Or the cloud disk link shared by the author 
  • Get the TDengine JDBC driver package git clone  https://github.com/taosdata/taos-connector-jdbc.git
  • cd to the taos-connector-jdbc directory and execute  mvn clean install -Dmaven.test.skip=true  After successful execution, the address of the dist.jar package will be returned
  • Click on the Database tab and select Driver Manager

  •  Click Driver Manager --> New --> Click Library --> Add Files --> Select the packaged dist.jar package
  •  click to find class
  • Two drivers can be found
  • I chose com.taosdata.jdbc.TSDBDriver driver here
  • Then click the settings page to configure the database information
  • url default:jdbc:TAOS://host:6030?timezone=UTC-8&charset=UTF-8&local=in_US.UTF-8
  •  
  •  Click OK to save the configuration
  • Click on New Connection
  • Select the driver we configured
  •  
  •  Click OK to connect successfully

verify

  • After the connection is successful, you can see the database information on the left

 

Guess you like

Origin blog.csdn.net/weixin_42599091/article/details/128608735