How to Install MS SQL Server on Mac and Create Databases - Step by Step

Поделиться
HTML-код
  • Опубликовано: 27 июл 2024
  • This video explains step by step how to Install MS SQL Server on Mac OS and create databases.
    The step are as follows:
    00:00 - Introduction
    00:45 - Download and Install Docker
    02:20 - Download the MS SQL Server Image to Docker
    03:32 - Run the Container
    05:16 - Install the MS SQL CLI
    06:11 - Test the Installation by Login In
    06:43 - Download and install the GUI application - Azure Data Studio
    08:55 - Download the BikeStores sample database
    10:15 - Run the SQL Query to Create the Database objects
    11:40 - Run the SQL Query to Load Data
    👉 Downlaod Docker from here - www.docker.com/products/docke...
    👉 Downlaod Azure Data Studio from here
    docs.microsoft.com/en-us/sql/...
    👉 Get the BikeStores Sample Datatabase here
    www.sqlservertutorial.net/wp-...
    🔥 Command to pull MSSQL Docker Image
    sudo docker pull mcr.microsoft.com/mssql/server:2019-latest
    🔥 Command to run the container
    docker run -d --name sql_server_demo -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=reallyStrongPwd123' -p 1433:1433 mcr.microsoft.com/mssql/server:2019-latest
    🔥 Command for M1 Chip, please try this
    docker run -e "ACCEPT_EULA=1" -e "MSSQL_SA_PASSWORD=reallyStrongPwd123" -e "MSSQL_PID=Developer" -e "MSSQL_USER=SA" -p 1433:1433 -d --name=sql mcr.microsoft.com/azure-sql-edge
    My SQL Tutorials - www.kindsonthegenius.com/mssql
    Visit www.kindsonthegenius.com
    My Tech Channel / kindsonthetechpro
    My websites
    www.kindsonthegenius.com
    www.munonye.com
    www.datarmatics.com
    Learn Programming by joining International Computer Programmers here:
    👉 / internationalcomputerp...
    Feel free to connect with me
    ❤️ Facebook: / kindsonm
    ❤️ Instagram: / kindsonthegius
    ❤️ LinkedIn: / kindson
    ❤️ Twitter: / kindsonm
    ❤️ Pinerest: / kindsonm
    ❤️ Tumblr: www.tumblr.com/blog/kindsonth...
    Your support can help me improve my content:
    ✅ Buy me a coffee: www.buymeacoffee.com/PWsXo7h13
    ✅ Support me on Patreon: / kindsonthegenius
    You can find lots of MS SQL tutorials on website

Комментарии • 498

  • @KindsonTheTechPro
    @KindsonTheTechPro  2 года назад +12

    ‼️‼️ Hey everyone, please use a strong password like this one "reallyStrongPwd123". I just updated the command. If you use a weak one like "pass", then you cannot connect! ‼️‼️

    • @N1_KiWiK
      @N1_KiWiK 2 года назад +18

      i have a problem with command "npm install -g sql-cli", my terminal gives me an error like doesn't find that command, what can i do with this problem

    • @betulkaya2315
      @betulkaya2315 2 года назад +2

      @@N1_KiWiK hi! ı take same error, ı can't dowland... and ı can't setup mssql. ı need this for my database lesson and ı have been trying for 3 weeks still doesn't work. my system is current: ı using Monterey now. and ı got exams ı have to fix it asap...

    • @N1_KiWiK
      @N1_KiWiK 2 года назад

      @@betulkaya2315 Hi!! I can't help u, how u can see this problem i have too, i trying to install this for exam too. ( Monterey 12.2.1 )

    • @N1_KiWiK
      @N1_KiWiK 2 года назад

      Please Helppppp!!! ❤️

    • @betulkaya2315
      @betulkaya2315 2 года назад +5

      @@N1_KiWiK but now I am struggling anothrt error, the next step: mssql -u sa -p really.... I take same thing: mssql: command not found

  • @simplyibby8886
    @simplyibby8886 2 года назад +11

    By far, this has been the easiest explanation on how to set up ms sql on back. This video is very self explanatory provided you have all the needed tools pre installed on your Mac.
    Also, the comment section is very helpful with knowing what’s needed for pre installation. Thank you for sharing your knowledge.

  • @xvrpvn4017
    @xvrpvn4017 10 месяцев назад +3

    This is one the rare tuto that propose a solution for MAC and M1 Chip. You rock Kindson

  • @lizsilva3112
    @lizsilva3112 Год назад +3

    I cannot thank you enough. I found some roadblocks along the way but at the end I was able to install it, Thank you so much!!!!!

  • @jav-0003
    @jav-0003 2 года назад +17

    I had been struggling with this for the past year and finally someone provides a simple, accurate explanation on how to do this. Thank you!!

  • @ramanakodamalla1553
    @ramanakodamalla1553 2 года назад +1

    omgg thank you so much, I was dying with anxiety bc my class was going to start soon and the installation tutorial video my uni provided was for windows only and the MAC installation process is so much more complicated. This helped me so much, thank you so much 🥰

  • @53_ritamghosh63
    @53_ritamghosh63 Год назад +2

    Very very useful video Kindson. I tried a ton of videos before this, none worked as smotthly as this. Very excited to get started now ........

  • @wangtony5920
    @wangtony5920 Год назад

    I am so glad that you explains it into simple words! many tutorial makes it too complex.

  • @AbrahamLouw
    @AbrahamLouw 2 года назад +1

    Wow, you really saved the day with this video, I have an M1 Macbook and the docker run cmd string worked perfectly, thanks!

  • @HBodyWMind
    @HBodyWMind 2 года назад +2

    Clear, easy-to-understand instructions video. Very helpful. Thanks, Kindson

  • @christiejackson5747
    @christiejackson5747 Год назад +1

    I am so glad I came across this tutorial. This was very easy to follow and understand. Thank you!

  • @daviddamian1935
    @daviddamian1935 Год назад +1

    Damn man. Thanks for this awesome video, so glad i came across it. Was watching some other guy's video where he's showing me to pay for the Azure before i can use it and some other stuffs which were usually frustrating. But i'm glad i followed your idea. Thanks. :)

  • @Nchewiii
    @Nchewiii 2 года назад +2

    AWESOME Tutorial video! The comments are great too. Thank you!

  • @akeylahwaite5265
    @akeylahwaite5265 2 года назад +16

    Great video!! for anyone with trouble at the npm sql cli part download homebrew then input these functions
    brew install npm
    npm install sql-cli
    and than npm install -g sql-cli

    • @KindsonTheTechPro
      @KindsonTheTechPro  2 года назад +1

      Thanks for the info!

    • @Alemayehu56
      @Alemayehu56 2 года назад

      thank you. I been struggling to pass that point in view.

    • @jkt2573
      @jkt2573 2 года назад

      Thank you…how long did it take to install brew? I think I’m at almost an hour now…

    • @dankeshod2713
      @dankeshod2713 Год назад

      the

  • @JamiewithData
    @JamiewithData 5 месяцев назад

    I have been waiting for a while to install, no luck but finally i got it .Appreciate your help for sharing.

  • @mahmudsurvey4330
    @mahmudsurvey4330 Год назад

    Hey, Great job! I am a cloud engineer and now I am using mac for my personal work, so this is a great help, I had a little bit trouble on connecting to server (localhost) thru command, however, I figured it out. Thank you!

    • @nw5995
      @nw5995 9 месяцев назад

      Hi I got the same probkem, how do you connect the localhost? Very appreciate if you can help me this❤

  • @713theresa
    @713theresa 11 месяцев назад

    WOW. Thank you SO MUCH for this walk through. I really appreciate it!

  • @santiagoxbravo
    @santiagoxbravo 2 года назад +1

    You sir deserve an Honor Medal for this, Thank you very much!

  • @arshinadange503
    @arshinadange503 2 года назад +3

    Thank You so much....every step was explained slowly and nicely please bring up more videos like this....Great Job!!!! and please recommend everyone to use some strong password I was getting some errors due to weak password

  • @user-tv1st7vm4z
    @user-tv1st7vm4z Год назад

    Thank you so much for this detailed explanation on the installation, was very useful!

  • @Nerdware22
    @Nerdware22 2 года назад

    This is the best tutorial that I have seen on this topic! job well done!

  • @liviaredua1094
    @liviaredua1094 9 месяцев назад

    Hello !
    i had a couple of problems during the installation, but in the end it worked ! thank you so much for the video !!

  • @mainguyen3367
    @mainguyen3367 2 года назад

    Thank you! This is very helpful, I could install it finally.

  • @Ar1999991
    @Ar1999991 2 года назад

    A life-saver video. You made my day, thanks.

  • @briannaboone9007
    @briannaboone9007 Год назад

    Thank you so much for this easy tutorial! I was ablet to get it all on my laptop.

  • @zhuldyzburgo1487
    @zhuldyzburgo1487 10 месяцев назад

    OMG you are so good! really helped, asked gpt about some errors, amazing! and i have 0 knowlige before, even terminal. Thank you!

  • @sf11691
    @sf11691 Год назад

    This was such a helpful explanation. Thank you so much.

  • @wudaliabhinavprasad
    @wudaliabhinavprasad 2 года назад

    Brilliant, Many thanks for doing this. Really Appreciate this.

  • @michaelangelolucido5006
    @michaelangelolucido5006 2 года назад +3

    Great tutorial! This helped me a lot 💕You deserve a million or billion followers.

  • @Ali-ds5iy
    @Ali-ds5iy 2 года назад

    man I wanna hug you!!!...a real gem of a tutorial. I use parallels desktop but its a mess to connect via a virtual machine (disable firewalls, enable TCP/IP etc) but this dockers i didn't know.. Thank you sooo soo much!!..I didnt have npm or brew so had to even install them as some of your commands were not running. But now I can have all the data bases right here on my mac!..yayyy!😀😀..thansk a billion!

  • @lirenecilliers6301
    @lirenecilliers6301 Год назад

    Very clear tutorial! Thank you so much!

  • @vrdelmnzano7331
    @vrdelmnzano7331 Год назад

    Thank you for giving me an idea to install this on my M1. Great!

  • @ingodavilabanghard5940
    @ingodavilabanghard5940 2 года назад

    Very Complete and useful Guide, thank you

  • @JacWilliamsVideo
    @JacWilliamsVideo Год назад

    Great video - so clear. Thank you sir!

  • @karthikvasishtaramesh8681
    @karthikvasishtaramesh8681 2 года назад

    This was really helpful. Thank you!!

  • @andreking6008
    @andreking6008 2 года назад

    only this video helped me off of so many others that i tried. thank you

  • @kotkuler
    @kotkuler 5 месяцев назад

    fantastic video, finally i get how to intall ms SQL on my mac. thank you!

  • @thalathotitharunprabhakar3390
    @thalathotitharunprabhakar3390 7 месяцев назад

    Thank you for the step. by step installation. It is helpful.

  • @missionyoungblood
    @missionyoungblood Год назад

    Brilliant channel Kindson!!!

  • @mayankrizu
    @mayankrizu Год назад

    This is the BEST video out there!!

  • @juntaochu4529
    @juntaochu4529 Год назад

    Loved this video! It's amazing!!!

  • @wendyzhai8948
    @wendyzhai8948 2 года назад +9

    Bruh I encountered like 2 million errors doing this but I was able to pull through!!! Thank you so much for making this video
    I didn't have npm so I had to download it through homebrew but then I also don't have homebrew lmao, so I had to download that too. Such a long ride but it was worth it!

    • @KindsonTheTechPro
      @KindsonTheTechPro  2 года назад

      Awesome 😊

    • @rohitanand9030
      @rohitanand9030 2 года назад +1

      $ brew install node. ==> did not helped me
      nothing works for me....disgusted. huh! dont know how i landed up installing node.js for this fucking npm thing. still not working

  • @Learn2ProMusicLessons
    @Learn2ProMusicLessons 2 месяца назад

    Thanks mate! It was really helpful and seamless to understand. God bless you!

  • @patrykmajerczyk9274
    @patrykmajerczyk9274 2 года назад

    Love this video, really helpful

  • @simonroyjonesuk
    @simonroyjonesuk 2 года назад +1

    Brilliant tutorial. Thanks. Really thorough.

  • @shaziajatoi222
    @shaziajatoi222 Год назад

    amazing way of explaining each and every step, just soooooper

  • @taylorhager5233
    @taylorhager5233 Год назад +1

    ahh I finally was able to get it to work thanks to your video! thank you so much!

  • @thehumbleaquarian
    @thehumbleaquarian 11 месяцев назад

    Thank you so much for this video, You sir are the GOAT😇

  • @mmayenejiasa1243
    @mmayenejiasa1243 Год назад

    Took me two hours but I'm grateful i went through this and was able to install it on my Laptop

    • @onikolasodiq7582
      @onikolasodiq7582 20 дней назад

      hello , i will be glad to know thw password yu use to install the azure data studio , thanks

  • @akwasidanquahakwaboah730
    @akwasidanquahakwaboah730 Год назад

    best explanation so far! bro you have won a new subscriber to your channel. I love this

  • @leonardomaximo5827
    @leonardomaximo5827 Год назад

    Great Great video, I appreciate the help and the dedication!!

  • @gowrikshathriya1638
    @gowrikshathriya1638 2 года назад +1

    Thanks a lot for the M1 container watched and tried a lot of videos but finally your video helped.

    • @milenialneeds3381
      @milenialneeds3381 2 года назад

      Hey, I also use M1 chip.. Do u use azure? Do u kno why I keep on getting this message on docker : "WARNING: Failed to connect to SQL because: dial tcp 127.0.0.1:1431: connect: connection refused, will reattempt connection." ?? I really need help with it coz I cant create new connection on the azure app. Thanks.

    • @KindsonTheTechPro
      @KindsonTheTechPro  2 года назад

      Glad I could help 😊😊

  • @avinashchowdhury2565
    @avinashchowdhury2565 Год назад +1

    What a great tutorial. Thanks so much :-)

  • @itsReshad
    @itsReshad 2 года назад

    Very useful, much appreciated!

  • @nehapradhan6021
    @nehapradhan6021 2 года назад

    Thank you so much.Worked for me as mine used M1 chip

  • @shanhickson1379
    @shanhickson1379 2 года назад +2

    Very helpful! Thank you so much

  • @atharvadeshmukh164
    @atharvadeshmukh164 Год назад

    Thanks a lot for this tutorial!

  • @Haych.H
    @Haych.H Год назад

    Thank you so much man!!!

  • @kanomkainokkata4188
    @kanomkainokkata4188 Год назад

    Thank you ,sir This video very clear Thank a lot 💖🇹🇭

  • @nabanitadasgupta
    @nabanitadasgupta Год назад

    Thank you for the tutorial

  • @nikhilbhatt8905
    @nikhilbhatt8905 Год назад

    Great tutorial. Thank you!

  • @lamlamnguyen7093
    @lamlamnguyen7093 2 года назад +1

    thank you so muchhh I have Mac M1 chip and I just installed it successfully

  • @nikhilbande6234
    @nikhilbande6234 Год назад

    very very helpful ...
    Thank You

  • @julianaelrayes1666
    @julianaelrayes1666 2 года назад

    amazing video!

  • @americomarcos2750
    @americomarcos2750 Месяц назад

    very helpful thank you

  • @ahmadmohammed1607
    @ahmadmohammed1607 2 года назад

    Amazing Explaiation. Thanks man

  • @NikaNabakhteveli.
    @NikaNabakhteveli. 2 года назад

    Great video, thank you!

  • @NazmulAlom
    @NazmulAlom Месяц назад

    Great Video.

  • @VladyslavStrebkov
    @VladyslavStrebkov 2 года назад +1

    Thank you man! You saved me

  • @user-is9tt9ek1l
    @user-is9tt9ek1l 2 года назад +1

    Thank you for your excellent job.😀

    • @KindsonTheTechPro
      @KindsonTheTechPro  2 года назад

      So nice of you

    • @atreyasunki4690
      @atreyasunki4690 Год назад

      @@KindsonTheTechPro hello sir I forgot my password which I need to enter on the terminal..what can I do to know it ?

  • @ronahialatroushi4067
    @ronahialatroushi4067 2 года назад

    Thank you. you video was very helpful n

  • @theuntormented6560
    @theuntormented6560 11 месяцев назад +1

    Daemnn bruhh u did me some real good
    Mucho amor

  • @LewiUberg
    @LewiUberg Год назад

    Thanks man! I'm transitioning from pure python to c# and I am the only Mac user at work 😅

  • @ColemanVolgs
    @ColemanVolgs 5 месяцев назад

    Thank you so much for your help

  • @alanrobles1428
    @alanrobles1428 2 года назад +4

    Hi! I'm from Mexico and you literally have saved my academic life, perfect explanation, you have got a new subscriber! (The only error i got was "Error: Failed to connect to localhost:1433 - connect ECONNREFUSED" but i solved it only changing the password for another one).

    • @KindsonTheTechPro
      @KindsonTheTechPro  2 года назад +1

      Glad to hear this 😊

    • @user-nz6fb1yf6j
      @user-nz6fb1yf6j 2 года назад

      How did you change the password?(I have the same problem)

    • @Tisso1989
      @Tisso1989 2 года назад +1

      I have the same problem how did you solve that?

    • @YT-ky9ww
      @YT-ky9ww 2 года назад +2

      @@Tisso1989 Delete container in docker on tab "container/tab" and after re-install it using correct password

  • @lfcblaze
    @lfcblaze 2 года назад

    you are a legend thank you

  • @cetinarslan262
    @cetinarslan262 2 года назад +1

    Thank you! it was great!...

  • @user-fs2ki7ph5j
    @user-fs2ki7ph5j 2 года назад

    Thank you very much!!!

  • @starwaveprime7398
    @starwaveprime7398 Год назад +1

    Thank you!!!

  • @HAInett
    @HAInett Год назад

    man you are amazing

  • @Slamo28
    @Slamo28 2 года назад

    excellent tutorial

  • @coreygates9646
    @coreygates9646 2 года назад +1

    Thank you so much !!

  • @redant8745
    @redant8745 Год назад

    Thank you so much!!!!!

  • @moeinjazemi7432
    @moeinjazemi7432 Год назад

    so much useful
    thanks a lot

  • @UddhikaIshara
    @UddhikaIshara Год назад

    Thank you very much

  • @deenathdamsinghe
    @deenathdamsinghe 2 месяца назад

    really helpful

  • @mejiavaldez
    @mejiavaldez Год назад

    Thanks so much!

  • @egheleakpere8525
    @egheleakpere8525 2 года назад

    my guy, God bless you already

  • @Raj-iz9uz
    @Raj-iz9uz Год назад

    Thanks a ton 😊🙏

  • @aisho33
    @aisho33 7 месяцев назад

    Thank you so much

  • @henrydwiseptian4312
    @henrydwiseptian4312 2 года назад +2

    Wow, thx broo

  • @houkiboshi2128
    @houkiboshi2128 2 года назад

    Thanks a lot!

  • @prajaktakulkarni6388
    @prajaktakulkarni6388 2 года назад +1

    Thank you so much :-)

  • @daniduwickramaratne581
    @daniduwickramaratne581 2 года назад

    Thank you soo much

  • @SofianMW
    @SofianMW 2 года назад +1

    Thanks!

  • @ethanvirtudazo1657
    @ethanvirtudazo1657 2 года назад

    Thank you!

  • @yekta5259
    @yekta5259 Год назад

    You're the best.

  • @devshifan
    @devshifan 6 месяцев назад +1

    Thanx a lot ❤❤❤❤❤❤❤❤❤❤❤

  • @vanderleyagomes3255
    @vanderleyagomes3255 Месяц назад

    Thank you 🙏🙏🙏

  • @ASFiodor93
    @ASFiodor93 Год назад

    I have managed to pull it through but it was not easy. Thanks anyway!