TDengine Error: Unable to resolve FQDN
Project scenario:
Win10 using Python link tdengine to read the database
Problem description
Problems encountered in the Project:
Unable to resolve FQDN is reported when the code reads the contents of the database
# connect the database of taos
conn = taos.connect(host=ip, user=user, password=pwd, database=db_database)
cursor = conn.cursor()
cursor.execute('select * from sensor_data')
Solution:
In the server, find the contents under the/etc/hosts file, copy them to the local file C:\Windows\System32\drivers\etc\hosts, and rerun the code
Read More:
- [Solved] ora 01033 linux,ORA-01033: ORACLE initialization or shutdown in progres
- Kafka configurate broker mapping error: discovered coordinator XXX rack: null
- [Solved] Vscode error: Unable to resolve resource walkThrough://vscode_getting_started_page
- [Go] Solve panic: runtime error: invalid memory address or nil pointer dereference in golang
- Solution: the solution to the wrong connection of rosdep init or rosdep update
- NLTK Error: [Error:11004] getaddrinfo failed [How to Solve]
- [Solved] MariaDB Add Datas Error: SQL error [1366] [22007]: (cIncorrect string value: ‘\xE5\xBC\xA0\xE4\xB8\x89’ for column
- [Solved] Git Run Error: Could not resolve host: github.com
- Websocket: How to Fix Error Read Econnreset
- [step on the pit] idea submits the code to GitHub and prompts 403 — the requested URL returned error: 403
- Abnormal [System.InvalidOperationException: custom type mapping for ‘xxx’ is not specified or is not a solution
- AIX 11G Rac Startup Error: CLSU-00100,CLSU-00101,CLSU-00103,CLSU-00104,CRS-4000
- How to Fix Error 1069:The service did not start due to a logon failure
- [Solved] PostgreSQL Error: Could not connect to server: no such file or directory
- Spring Boot Druid Error: discard long time none received connection
- DM backup database Error: [-7169]:bakres failed to communicate with DMAP message.
- Springcloud configuration center client 3355 startup Error: error on get request for“ http://localhost:8761/eureka/apps/ “: Connection
- How to Solve Namedparameterjdbctemplate.queryforobject() Return Error
- [Solved] Rabbitmq Server Error: unable to perform an operation on node ‘[email protected]‘. P
- Error: Host Key Verification Failed [How to Solve]