docs: refine a statement

This commit is contained in:
dingbo 2022-05-29 11:43:39 +08:00 committed by gccgdb1234
parent 330aec37c3
commit 72077f270c
3 changed files with 4 additions and 4 deletions

View File

@ -20,4 +20,4 @@ func main() {
// use // use
// var taosDSN = "root:taosdata@tcp(localhost:6030)/dbName" // var taosDSN = "root:taosdata@tcp(localhost:6030)/dbName"
// if you want to connect to a default database. // if you want to connect a specified database named "dbName".

View File

@ -18,6 +18,6 @@ func main() {
defer taos.Close() defer taos.Close()
} }
// use // use
// var taosDSN = "root:taosdata@http(localhost:6041)/dbName" // var taosDSN = "root:taosdata@http(localhost:6041)/dbName"
// if you want to connect to a default database. // if you want to connect a specified database named "dbName".

View File

@ -22,4 +22,4 @@ public class JNIConnectExample {
// use // use
// String jdbcUrl = "jdbc:TAOS://localhost:6030/dbName?user=root&password=taosdata"; // String jdbcUrl = "jdbc:TAOS://localhost:6030/dbName?user=root&password=taosdata";
// if you want to connect to a default database. // if you want to connect a specified database named "dbName".