Connect to sql server from mac using Docker -- 2
Budget: $10 – $30 USD
Hi this are the credentials for connecting to sql server
usuario@MBP-de-USUARIO ~ % docker run -e ‘ACCEPT_EULA=Y’ -e ‘SA_PASSWORD=12345OHdf%e’ -p 1433:1433 -d mcr.microsoft.com/mssql/server
d97c741526956cf4338455ab64d1f75667b0a68131a219fe2eaf590678332860
usuario@MBP-de-USUARIO ~ % docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
usuario@MBP-de-USUARIO ~ %
however I get this. error message: (see attached photo)
Microsoft.Data.SqlClient.SqlException (0x80131904): 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: TCP Provider, error: 35 - An internal exception was caught)
and Im getting a A connection was successfully established with the server, but then an error occurred during the pre-login handshake
usuario@MBP-de-USUARIO ~ % docker run -e ‘ACCEPT_EULA=Y’ -e ‘SA_PASSWORD=12345OHdf%e’ -p 1433:1433 -d mcr.microsoft.com/mssql/server
d97c741526956cf4338455ab64d1f75667b0a68131a219fe2eaf590678332860
usuario@MBP-de-USUARIO ~ % docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
usuario@MBP-de-USUARIO ~ %
however I get this. error message: (see attached photo)
Microsoft.Data.SqlClient.SqlException (0x80131904): 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: TCP Provider, error: 35 - An internal exception was caught)
and Im getting a A connection was successfully established with the server, but then an error occurred during the pre-login handshake