Skip to content

Commit a2317f7

Browse files
committed
add tcp
1 parent ff8acee commit a2317f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/service-connector/includes/code-sql-me-id.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ Update your application following the tutorial [Migrate a Java application to us
9797
9898
# Uncomment the following lines according to the authentication type. Customize the driver version as you want.
9999
# For system-assigned managed identity.
100-
# connString = f'Driver={{ODBC Driver 18 for SQL Server}};Server={server},{port};Database={database};Authentication={authentication};Encrypt=yes;TrustServerCertificate=no;Connection Timeout=30'
100+
# connString = f'Driver={{ODBC Driver 18 for SQL Server}};Server=tcp:{server},{port};Database={database};Authentication={authentication};Encrypt=yes;TrustServerCertificate=no;Connection Timeout=30'
101101
102102
# For user-assigned managed identity.
103103
# user = os.getenv('AZURE_SQL_USER')
104-
# connString = f'Driver={{ODBC Driver 18 for SQL Server}};Server={server},{port};Database={database};UID={user};Authentication={authentication};Encrypt=yes;TrustServerCertificate=no;Connection Timeout=30'
104+
# connString = f'Driver={{ODBC Driver 18 for SQL Server}};Server=tcp:{server},{port};Database={database};UID={user};Authentication={authentication};Encrypt=yes;TrustServerCertificate=no;Connection Timeout=30'
105105
106106
# For service principal.
107107
# user = os.getenv('AZURE_SQL_USER')

0 commit comments

Comments
 (0)