docs: refine a statement
This commit is contained in:
parent
330aec37c3
commit
72077f270c
|
@ -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".
|
||||||
|
|
|
@ -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".
|
||||||
|
|
|
@ -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".
|
Loading…
Reference in New Issue