未验证 提交 d999e1fe 编写于 作者: CsongSY's avatar CsongSY 提交者: GitHub

Create go.mdx (#12479)

go 原生连接里  示例写错纠正      var taosUri = "root:taosdata/tcp(localhost:6030)/"   ==>      var taosUri = "root:taosdata@tcp(localhost:6030)/"
上级 46ffb6cf
......@@ -136,7 +136,7 @@ import (
)
func main() {
var taosUri = "root:taosdata/tcp(localhost:6030)/"
var taosUri = "root:taosdata@tcp(localhost:6030)/"
taos, err := sql.Open("taosSql", taosUri)
if err != nil {
fmt.Println("failed to connect TDengine, err:", err)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册