
- #How to use download ms sql server on mac install#
- #How to use download ms sql server on mac driver#
- #How to use download ms sql server on mac code#
#How to use download ms sql server on mac code#
There is also a great tool called Azure Data Studio, which is based on Visual Studio Code it is similar to an extension which we used in the last step.
#How to use download ms sql server on mac install#
(Option 2.) Download and install Azure Data Studio. If this is something you don't want to configure and find it a poor experience than take a look at option 2. You can right-click on your connection and start with a new query and start playing with SQL Server on macOS.

Azure Data Studio - Which I recommend to use.Visual Studio Code with mssql extension.In this blog post I will cover two options: Install client.Īfter you successfully configured and launched the docker container you need some kind of tool or client to connect to local sql server.

If the status is Up, you are ready to go.

Quick tip, please use strong password you will have some issues while connecting later. You should get the status " Up (X) seconds." if STATUS is not "Up" try to troubleshoot and see why it is not working properly. Run the following docker command to check the status of your container. More about commands, parameters and this image you can find here. Which will assign a name to the container, in my case that will be mssqlserver2019.ĭocker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=yourStrong(!)Password' -p 1433:1433 -name mssqlserver2019 -d /mssql/server:2019-latest Once when the container image is pulled and download is completed, you can run it on a new container using the following command: The installation will take some time, depending on your internet speed, at the moment of writing this blog post I was at my parents home so (pull process) it took some time. When you are sure your Docker desktop is running run the following command in the Terminal.ĭocker pull /mssql/server:2019-latest Pull the latest version of SQL Server image (in my case that was 2019).

If you already have docker installed on your Mac, then obviously you can skip this step, if you don't have it already, then go and download it from this website here. It is not that hard at all, to be honest, just a few steps and you will be ready to go. In this short blog post, I will walk you through the steps in order to use MS SQL Server on your macOS machine.
#How to use download ms sql server on mac driver#
and currently, I am using the Macbook Pro as a daily driver so I needed to get MS SQL Server somehow on my Mac machine in order to test and play with AdventureWorks database without the need to switch to my Windows powered laptop.
