Skip to content

Commit

Permalink
Merge pull request sfu-db#544 from albcunha/patch-1
Browse files Browse the repository at this point in the history
Update mssql.md
  • Loading branch information
wangxiaoying authored Sep 21, 2023
2 parents 1e642af + 9c9bfbc commit a202e72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/databases/mssql.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ SQLServer does not need to specify protocol.
By adding `trusted_connection=true` to connection uri parameter, windows authentication will be enabled. Example: `mssql://host:port/db?trusted_connection=true`
By adding `encrypt=true` to connection uri parameter, SQLServer will use SSL encryption. Example: `mssql://host:port/db?encrypt=true&trusted_connection=true`
```
```{hint}
if the user password has special characters, they need to be sanitized. example: `from urllib import parse; password = parse.quote_plus(password)`
```

```py
import connectorx as cx
Expand Down

0 comments on commit a202e72

Please sign in to comment.