Update sqlserver docs for TLS connections (#6409)
This commit is contained in:
parent
a2c28f2762
commit
e553341879
|
@ -40,7 +40,8 @@ GO
|
||||||
## By default, the host is localhost, listening on default port, TCP 1433.
|
## By default, the host is localhost, listening on default port, TCP 1433.
|
||||||
## for Windows, the user is the currently running AD user (SSO).
|
## for Windows, the user is the currently running AD user (SSO).
|
||||||
## See https://github.com/denisenkom/go-mssqldb for detailed connection
|
## See https://github.com/denisenkom/go-mssqldb for detailed connection
|
||||||
## parameters.
|
## parameters, in particular, tls connections can be created like so:
|
||||||
|
## "encrypt=true;certificate=<cert>;hostNameInCertificate=<SqlServer host fqdn>"
|
||||||
# servers = [
|
# servers = [
|
||||||
# "Server=192.168.1.10;Port=1433;User Id=<user>;Password=<pw>;app name=telegraf;log=1;",
|
# "Server=192.168.1.10;Port=1433;User Id=<user>;Password=<pw>;app name=telegraf;log=1;",
|
||||||
# ]
|
# ]
|
||||||
|
|
|
@ -41,7 +41,8 @@ var sampleConfig = `
|
||||||
## By default, the host is localhost, listening on default port, TCP 1433.
|
## By default, the host is localhost, listening on default port, TCP 1433.
|
||||||
## for Windows, the user is the currently running AD user (SSO).
|
## for Windows, the user is the currently running AD user (SSO).
|
||||||
## See https://github.com/denisenkom/go-mssqldb for detailed connection
|
## See https://github.com/denisenkom/go-mssqldb for detailed connection
|
||||||
## parameters.
|
## parameters, in particular, tls connections can be created like so:
|
||||||
|
## "encrypt=true;certificate=<cert>;hostNameInCertificate=<SqlServer host fqdn>"
|
||||||
# servers = [
|
# servers = [
|
||||||
# "Server=192.168.1.10;Port=1433;User Id=<user>;Password=<pw>;app name=telegraf;log=1;",
|
# "Server=192.168.1.10;Port=1433;User Id=<user>;Password=<pw>;app name=telegraf;log=1;",
|
||||||
# ]
|
# ]
|
||||||
|
|
Loading…
Reference in New Issue