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] Cause: java.sql.SQLException: TDengine ERROR (8000000b): Unable to establish connection
- [Solved] IDEA Error: Unable to resolve column XXXX
- [Solved] Vscode error: Unable to resolve resource walkThrough://vscode_getting_started_page
- [Solved] Visual studio 2022 error LNK2019: unable to resolve external symbol for
- [Solved] Excel plug in installation failed: unable to resolve the value of property ‘type’
- NPM Install Error: npm ERR! ERESOLVE unable to resolve dependency tree
- Kubernetes Error: Error in configuration: unable to read client-cert* unable to read client-key*
- [Solved] element-plus Error: Failed to resolve component
- [Solved] Failed to resolve: com.serenegiant:common:1.5.20
- [Solved] lua error: no resolver defined to resolve
- Apache Altas Compile Error: [ERROR] Failed to execute goal on project atlas-testtools: Could not resolve
- [Solved] CommandWithNoStdoutInvokationFailure Unable to start ADB server.
- fatal: unable to access”: The requested URL returned error: 500
- [Solved] Hbase …ERROR: Unable to read .tableinfo from file:/hbaseData/data/default/table1/xxxx
- [Solved] Error: unable to perform an operation on node ‘rabbit@DESKTOP-xxx‘. Please see diagnostics informa
- How to Solve npm Error: unable to get local issuer certificate
- How to Solve Git Error: error: unable to unlink old ‘***.jar‘
- [Solved] Kubernetes Error: failed to list *core.Secret: unable to transform key
- ubuntu20.04——hdaudioC0D2: unable to bind the codec
- Unable to start embedded Tomcat [How to Solve]