ms sql for mac code example

Example 1: how to start my sql server on mac

alias mysqlstart='sudo /usr/local/mysql/support-files/mysql.server start'
alias mysqlstop='sudo /usr/local/mysql/support-files/mysql.server stop'

Example 2: How do I install microsoft SQL on my Mac?

1. Pull MSSQL Server from Dockerdocker pull microsoft/msssql-server-linux2. Create an Instance and Serverdocker run -d — name MSSQL_Server -e ‘ACCEPT_EULA=Y’ -e ‘SA_PASSWORD= mypassword’ -p 1433:1433 microsoft/mssql- server-linux3. Download node and install SQL CLI as Adminnpm install -g sql-cli4. Check the containerdocker ps -a5. Run the Servermssql -u sa -p <mypassword>