Using SQL Server Management Studio to remote connect to docker container

前端 未结 6 2007
北荒
北荒 2021-02-05 00:22

Context: I am trying to build a development SQL Server that I can continue to learn SQL on and use Microsoft SQL Server Management Studio (SSMS) to

6条回答
  •  不思量自难忘°
    2021-02-05 01:20

    You can connect to SQL docker server

    1. Using IP of Machine on which docker image is hosted,port

    IP_Of_Machine,Port

    1. Provide User - sa (default) and password.

    2. you can also do it command>

    docker exec -it /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P

提交回复
热议问题