From a34e2ab690debafdf6fb3a1cec5ad5e993dbdf35 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Fri, 7 Aug 2020 07:23:07 +0200 Subject: [PATCH] Set "0" as default port for new MSSQL TCP/IP connections, which leaves the port away from the connection string, enabling auto-detection. See https://www.heidisql.com/forum.php?t=34256#p36709 --- source/dbconnection.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dbconnection.pas b/source/dbconnection.pas index 1774878b..7e545c62 100644 --- a/source/dbconnection.pas +++ b/source/dbconnection.pas @@ -1659,7 +1659,7 @@ begin else Result := 3306; end; - ngMSSQL: Result := 1433; + ngMSSQL: Result := 0; // => autodetection by driver (previously 1433) ngPgSQL: Result := 5432; else Result := 0; end;