MS SQL - install MSSQL on Mac

 https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-docker-container-deployment?view=sql-server-ver15&pivots=cs1-bash

$sudo docker pull mcr.microsoft.com/mssql/server:2019-latest


$docker run --name sql_server -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=strong@pwd' -p 1401:1433 -d mcr.microsoft.com/mssql/server:2019-latest




$docker ps


$npm install -g sql-clidocker ps


$mssql -u sa -p <password>

>>select @@version




connect MS SQL Server

                  














Comments

Popular posts from this blog

Go-VSCode -Autocomplete and Auto-import

Dart syntax - initSate,Build,deactive, Dispose