How To Install SQL Server on Mac (M1 | M2 | M3) (2024)

preview_player
Показать описание
"How To Install SQL Server on Mac (M1 | M2 | M3) | Step-by-Step Guide"

Docker run command:

link to docker-compose file

Welcome to our comprehensive guide on installing SQL Server on Mac, tailored specifically for the M1, M2, and M3 chip architecture! In this tutorial, we'll walk you through the seamless process of setting up SQL Server using Docker with the Azure SQL Edge image, alongside the powerful Azure Data Studio for Mac.

SQL Server is a robust relational database management system developed by Microsoft, widely used across industries for managing and querying data. With the advent of Docker, running SQL Server on non-Windows platforms like Mac has become incredibly convenient and efficient.

We'll start by leveraging Docker to pull the Azure SQL Edge image from the Microsoft Container Registry. Azure SQL Edge is optimized for edge computing scenarios, offering the flexibility and scalability required for modern applications.

Next, we'll guide you through the steps of creating a Docker container, ensuring to set up essential environment variables such as `ACCEPT_EULA`, `MSSQL_SA_PASSWORD`, and `MSSQL_PID` according to your preferences. With Docker's flexibility, you can customize your SQL Server instance to suit your specific needs.

Once the SQL Server container is up and running, we'll introduce you to Azure Data Studio, a cross-platform database tool that provides a rich environment for SQL development and administration. You'll learn how to connect Azure Data Studio to your SQL Server instance running on Docker, enabling you to execute queries, manage databases, and visualize data effortlessly.

Throughout the tutorial, we'll provide detailed instructions and explanations to ensure a smooth installation process, even for beginners. Whether you're a seasoned developer or just getting started with SQL Server, this tutorial caters to all skill levels.

Join us on this journey to empower your Mac with SQL Server capabilities, unlock new possibilities for data management, and streamline your development workflow. Don't forget to subscribe to our channel for more tutorials, tips, and tricks on SQL Server, Docker, and Azure technologies.

#SQLServer #Mac #Docker #AzureDataStudio #Microsoft #Development #DatabaseManagement #EdgeComputing #Azure #DataScience #M1 #M2 #M3 #Tutorial #InstallationGuide
#SQLServer #Mac #M1 #M2 #M3 #DatabaseManagement #TechTutorial #StepByStepGuide #DevelopmentTools #TechHowTo #macOS #DataManagement #Microsoft #DatabaseAdministrator #SQLServerOnMac
Рекомендации по теме
Комментарии
Автор

Extremely helpful for a Chartered Accountant like me in Finance Department who is using MacBook Air and learning SQL for the first time - Instructions were crystal clear and perfect. Since I was getting error setting up the SQL connection, I ended up searching and this video helped solve the error ! Thanks !

trickster
Автор

This may help some people:
If you used a different password and got the error message:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)

Then it may be because your password did not meet SQL Server password policy requirements

Your password must be at least 8 characters and contain characters from three of the following four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols.

Hope that may help someone

(And thanks for the video!!)

snewm-xhcx
Автор

Finally got the SQL working on Mac. Thanks a lot :)

amy_mishra
Автор

Ohhh god finally somebody shared something efficient. Thankyou for the clear explanation. It worked!

poojababerwal
Автор

Thanks for sharing this! The instructions are crystal clear. It worked the first time around -you gained a new subscriber!

abijaffa
Автор

Thank you so much! i've been ignoring my SQL classes, because I didn't understand how to intall all these program on MacOs. So now I can finally move afford. Gratidão, diretamente, do Brasil!

TheViitinhow
Автор

Great asset man! Thanks for explaining in a good neat approach

engaudy
Автор

Holy Moly!! How happy I am to have found your tutorial video. You're a life saver! 👍👍

emerson
Автор

Awesome. Finally found a solution through your video after many trials and errors. Thanks.

hariparajuli
Автор

Thank you very much, easy to understand and worked perfectly!

becauseiwanttoanime
Автор

Hi thank you so much for this crisp and clear video. it was a great help for me Thanks again.

kaverigadhe
Автор

it's work for my m1 thank you for sharing and please keep sharing for more

vicheka
Автор

Thank you! It was very helpful. But how are we meant to connect the SQL server on Azure after we have closed docker and Azure (e.g. when we restart or shut down our Mac and have to turn on Azure and docker again)? I keep getting an error like: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server). It worked the first time I connected the server following your instructions. But how to connect it again after we have closed docker and Azure?

shahz
Автор

This was amazing and really intuitive, thanks!

josepenaherrera
Автор

Thank you so much .This is such a life saver .

nimashafernando
Автор

thank you bro, this is a really helpful information !!!

frochaol
Автор

Hi! Thanks for the video! I am learning Alex the analyst BootCamp and needed to install the SQL server. your video is helping me. at the end when i try to connect this occurs "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)" what to do here?

AygerimAsantur
Автор

Thank you, the video was very helpful

giovannifontes
Автор

Thank you so much, the video was very helpful.

odunayofajuko
Автор

i think this no longer connects after the latest mac os updates or the latest docker updates - i to can no longer connect via azure data studio - but i can connect via sqlcmd. I havent figured out how to fix this yet...

DegsyboyGomes