runtime icon indicating copy to clipboard operation
runtime copied to clipboard

SqlClient connection with "instance"

Open jamesgibbs100 opened this issue 11 years ago • 5 comments

If I establish a connection with SqlClient using the "server\instance" data source syntax this works fine on windows. On Linux it fails with a host resolution error.

If I monitor with Wireshark, I can see the DNS query being executed but it is searching for serverinstance - i.e. it concatenates the both the service and the instance into one host name - which then fails.

Is anyone else seeing this ?

jamesgibbs100 avatar Nov 05 '15 17:11 jamesgibbs100

@corivera @saurabh500 @YoungGah

joshfree avatar Nov 05 '15 18:11 joshfree

We don't support the instance name support on Linux yet. As a work around please use the server name and the port name.

saurabh500 avatar Mar 01 '16 23:03 saurabh500

We don't support the instance name support on Linux yet. As a work around please use the server name and the port name.

@saurabh500 could you get this added to the RC2 release notes (email @leecow)?

joshfree avatar Apr 26 '16 18:04 joshfree

Cc @geleems

saurabh500 avatar Jun 17 '16 21:06 saurabh500

Fixed the issue: https://github.com/dotnet/corefx/pull/9606

geleems avatar Jun 28 '16 19:06 geleems