Skip to content

Commit

Permalink
Updated SQL documentation for windows authentication. (#1251)
Browse files Browse the repository at this point in the history
  • Loading branch information
dat-a-man authored Apr 24, 2024
1 parent edcedd5 commit c57fe0e
Show file tree
Hide file tree
Showing 2 changed files with 219 additions and 184 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ Here, we use the `mysql` and `pymysql` dialects to set up an SSL connection to a
sources.sql_database.credentials="mysql+pymysql://root:<pass>@35.203.96.191:3306/mysql?ssl_ca=&ssl_cert=client-cert.pem&ssl_key=client-key.pem"
```

1. For MSSQL destinations using Windows Authentication, you can modify your connection string to include `trusted_connection=yes`. This bypasses the need for specifying a username and password, which is particularly useful when SQL login credentials are not an option. Here’s how you can set it up:

```toml
sources.sql_database.credentials="mssql://user:pw@my_host/my_database?trusted_connection=yes"
```

>Note: The (user:pw) may be included but will be ignored by the server if `trusted_connection=yes` is set.

### Initialize the verified source

To get started with your data pipeline, follow these steps:
Expand Down
Loading

0 comments on commit c57fe0e

Please sign in to comment.