docs(inputs.sql): Add protocol to DSN (#16330)

This commit is contained in:
Milan Davídek 2025-01-16 16:47:53 +01:00 committed by GitHub
parent 5af100d96b
commit 237dd3d582
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ to use them.
## Data source name for connecting
## The syntax and supported options depends on selected driver.
dsn = "username:password@mysqlserver:3307/dbname?param=value"
dsn = "username:password@tcp(mysqlserver:3307)/dbname?param=value"
## Timeout for any operation
## Note that the timeout for queries is per query not per gather.

View File

@ -7,7 +7,7 @@
## Data source name for connecting
## The syntax and supported options depends on selected driver.
dsn = "username:password@mysqlserver:3307/dbname?param=value"
dsn = "username:password@tcp(mysqlserver:3307)/dbname?param=value"
## Timeout for any operation
## Note that the timeout for queries is per query not per gather.