steffengy / tiberius

TDS 7.4 (mssql / Microsoft SQL Server) async driver for rust. Fork at: https://github.com/prisma/tiberius
Apache License 2.0
151 stars 2 forks source link

Use of both an instance name and port results in `host not found` #113

Closed yatesco closed 4 years ago

yatesco commented 4 years ago

Hi,

Using either an instance or a port works, but using both fails.

Works:

Doesn't work:

steffengy commented 4 years ago

While the error message is suboptimal, an error is expected. You either specify a TCP port or an instance name, which is used to determine the TCP port by asking the SQL Server Browser service via UDP.

yatesco commented 4 years ago

Ah OK, thanks, I’ll close