Skip to content

Commit

Permalink
Added MS SQL Server example
Browse files Browse the repository at this point in the history
  • Loading branch information
heidmotron authored Nov 14, 2024
1 parent 6db5d1a commit 8fa0960
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions receiver/sqlqueryreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,11 @@ example [here.](https://blogs.oracle.com/developers/post/connecting-a-go-applica

The `datasource` format for MySQL works as follows:
`user:password@tcp(host:port)/databasename`

#### Microsoft SQL Server Datasource Format Example

The `datasource` format for SQL Server can either be in URL format:
`sqlserver://username:password@host/instance?param1=value&param2=value`

Or in key=value; pair format:
`server=localhost;port=1433;param1=value;`

0 comments on commit 8fa0960

Please sign in to comment.