提交 ab8314d4 编写于 作者: dengyihao's avatar dengyihao

[TD-11622]<docs> update taos_connect usage

上级 67bdbac9
......@@ -207,6 +207,7 @@ C/C++的API类似于MySQL的C API。应用程序使用时,需要包含TDengine
- port:TDengine管理主节点的端口号
返回值为空表示失败。应用程序需要保存返回的参数,以便后续API调用。
**提示: **: 同一进程可以根据不同的host/port 连接多个taosd 集群
- `char *taos_get_server_info(TAOS *taos)`
......
......@@ -200,6 +200,8 @@ Create a database connection and initialize the connection context. The paramete
* port: Port number
A null return value indicates a failure. The application needs to save the returned parameters for subsequent API calls.
Note: The same process can connect to multiple taosd processes based on ip/port
- `char *taos_get_server_info(TAOS *taos)`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册