0

I am running SQL Server Vnext (2017) in docker on MAC. I am able to connect SQL Server using command line utility mssql but not able to connect using Visual Studio Code. Can anyone help?

mssql: Failed to connect: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 8 - Protocol not supported)

This error is specific to SQL Server 2017 - Visual Studio Code

Kannan Kandasamy
  • 13,405
  • 3
  • 25
  • 38

0 Answers0