mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
11 lines
563 B
Python
11 lines
563 B
Python
import taos
|
|
|
|
conn: taos.TaosConnection = taos.connect(host="localhost",
|
|
user="root",
|
|
password="taosdata",
|
|
database="test",
|
|
port=6030,
|
|
config="C:\TDengine\cfg", # for linux the default value is /etc/taos
|
|
timezone="Asia/Shanghai" # default your host's timezone
|
|
)
|
|
conn.close()
|