You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to test the env connection for the mssql db with the instance name I cannot connect due to adding the default port number.
Based on the docs from Microsoft:
For optimal connection performance, you should set the portNumber when you connect to a named instance. This will avoid a round trip to the server to determine the port number. If both a portNumber and instanceName are used, the portNumber will take precedence and the instanceName will be ignored.
Issue Description
While trying to test the env connection for the mssql db with the instance name I cannot connect due to adding the default port number.
Based on the docs from Microsoft:
Sling version (
v1.2.10
):Operating System (
mac
):While providing the url
The code is adding port number which is creating the connection issue
I've tested uri with
go-mssqldb
and it worked properlyFor time being the workaround for that is to locally compile without this line
https://github.com/slingdata-io/sling-cli/blob/main/core/dbio/database/database_sqlserver.go#L40
The text was updated successfully, but these errors were encountered: