SQL Server on mac

Vincent Demers 0 Reputation points
2025-01-10T16:56:17.62+00:00

Is there a way to use a SQL Server on Mac? I tried using Docker and Azure Data Studio but I'm blocked at the last step by a error message. Many seems to have faced the same issue.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,369 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Javier Villegas 900 Reputation points MVP
    2025-01-11T23:53:40.2133333+00:00

    Hi @Vincent Demers

    Please follow the official blog on how to install SQL on macOS using Docker. I have a MacBook Air M1 and I have installed it with no issues

    https://devblogs.microsoft.com/azure-sql/development-with-sql-in-containers-on-macos/

    Regards

    Javier

    0 comments No comments

  2. Bruce (SqlWork.com) 69,976 Reputation points
    2025-01-12T17:20:52.8066667+00:00

    You have two options.

    The first is pull the sql server image which is intel only. Be sure you have enabled docker’s Rosetta support, and installed Rosetta.

    The second option (my choice) is to use azure sql edge which has arm64 support. but not full sql 2022. See:

    https://learn.microsoft.com/en-us/azure/azure-sql-edge/features

    Note: docker on Mac does not support direct mount points for Sqlserver. You need to create a docker volume, then mount this volume.

    0 comments No comments

  3. ZoeHui-MSFT 39,971 Reputation points
    2025-01-13T02:05:03.0166667+00:00

    Hi @Vincent Demers

    Please follow the steps outlined here, to install SQL Server on MAC.

    You can do it using Docker. Once you have installed SQL Server using Docker, you can connect to SQL Server by downloading and installing Azure Data Studio.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.