From 65e9d9ceb8bd55311027da7f265a6f4ea16cbfa3 Mon Sep 17 00:00:00 2001 From: dat-a-man <98139823+dat-a-man@users.noreply.github.com> Date: Wed, 16 Oct 2024 03:37:23 +0000 Subject: [PATCH 1/3] Added info to trouble shooting --- .../verified-sources/sql_database/troubleshooting.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md b/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md index d0930716d8..3a93cf0d22 100644 --- a/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md +++ b/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md @@ -56,6 +56,16 @@ sources.sql_database.credentials="mssql+pyodbc://loader:loader@localhost/dlt_dat sources.sql_database.credentials="mssql+pyodbc://loader:loader@localhost/dlt_data?LongAsMax=yes&driver=ODBC+Driver 17+for+SQL+Server" ``` +**To fix MS SQL Server connection issues with ConnectorX**: + +Some users have reported issues with MS SQL Server and Connector X. The problems are not caused by dlt, but by how connections are made. A big thanks to [Mark-James M](https://github.com/markjamesm) for suggesting a solution. + +To fix connection issues with ConnectorX and MS SQL Server, include both `Encrypt=yes` and `encrypt=true` in your connection string: +```py +sources.sql_database.credentials="mssql://user:password@server:1433/database?driver=ODBC+Driver+17+for+SQL+Server&Encrypt=yes&encrypt=true" +``` +This approach can help resolve connection-related issues. + ## Troubleshooting backends ### Notes on specific databases From a98e2ae441c92914b8bbe47d25004f03c4abbd7a Mon Sep 17 00:00:00 2001 From: Alena Astrakhantseva Date: Fri, 18 Oct 2024 00:51:16 +0200 Subject: [PATCH 2/3] just to rerun tests --- .../verified-sources/sql_database/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md b/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md index 3a93cf0d22..ced89eed47 100644 --- a/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md +++ b/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md @@ -64,7 +64,7 @@ To fix connection issues with ConnectorX and MS SQL Server, include both `Encryp ```py sources.sql_database.credentials="mssql://user:password@server:1433/database?driver=ODBC+Driver+17+for+SQL+Server&Encrypt=yes&encrypt=true" ``` -This approach can help resolve connection-related issues. +This approach can help resolve connection-related issues. ## Troubleshooting backends From 9c5a0fdd6f709d92bb0e3ce99dafe73aa42bc712 Mon Sep 17 00:00:00 2001 From: Alena Astrakhantseva Date: Tue, 22 Oct 2024 10:21:56 +0200 Subject: [PATCH 3/3] Update docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md --- .../verified-sources/sql_database/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md b/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md index ced89eed47..3a93cf0d22 100644 --- a/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md +++ b/docs/website/docs/dlt-ecosystem/verified-sources/sql_database/troubleshooting.md @@ -64,7 +64,7 @@ To fix connection issues with ConnectorX and MS SQL Server, include both `Encryp ```py sources.sql_database.credentials="mssql://user:password@server:1433/database?driver=ODBC+Driver+17+for+SQL+Server&Encrypt=yes&encrypt=true" ``` -This approach can help resolve connection-related issues. +This approach can help resolve connection-related issues. ## Troubleshooting backends