We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
官网的代码, https://docs.taosdata.com/connector/go/
package main import ( "database/sql" "fmt" _ "github.com/taosdata/driver-go/v3/taosSql" ) func main() { var taosUri = "root:taosdata@tcp(localhost:6030)/" taos, err := sql.Open("taosSql", taosUri) if err != nil { fmt.Println("failed to connect TDengine, err:", err) return } }
在测试中,taosUri被随便乱改成错误的地址,如 root:taosdata@tcp(localhost:60301)/, sql.Open("taosSql", taosUri)的返回的 err 一直是 nil 。 本地环境如下:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
官网的代码,
https://docs.taosdata.com/connector/go/
在测试中,taosUri被随便乱改成错误的地址,如 root:taosdata@tcp(localhost:60301)/, sql.Open("taosSql", taosUri)的返回的 err 一直是 nil 。
本地环境如下:
The text was updated successfully, but these errors were encountered: