How To Install SQL Server on Mac M1 & M2 | Latest for 2022

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • How to Install SQL Server and SQL Server Management Studio on Your Mac with M1 & M2 Apple Chip. With IDE. Latest for 2022 (MacOS Monterey). Step by Step Guide.
    Docker Run Command :
    docker run -e "ACCEPT_EULA=1" -e "MSSQL_SA_PASSWORD={password}" -e "MSSQL_PID=Developer" -e "MSSQL_USER=SA" -p 1433:1433 -d --name=sql mcr.microsoft.com/azure-sql-edge
    (Change the password inside the curly braces {} and don't include the curly braces when you run the command.)
    Example :
    docker run -e "ACCEPT_EULA=1" -e "MSSQL_SA_PASSWORD=Password123" -e "MSSQL_PID=Developer" -e "MSSQL_USER=SA" -p 1433:1433 -d --name=sql mcr.microsoft.com/azure-sql-edge
    Keywords :
    Install SQL server on mac
    Install SQL Server Management Studio on mac
    Install SSMS on mac
    Install SQL server on mac m1 m2
    Install SQL Server Management Studio on mac m1 m2
    Install SSMS on mac m1 m2
    Install SQL server on mac azure
    Install SQL server on mac 2021
    SQL server
    #mac #macbook #sql #sqlserver

ความคิดเห็น • 825

  • @Alcaraz13
    @Alcaraz13 9 หลายเดือนก่อน +10

    Hi Dominic! I'm starting my Data Analyst bootcamp and with this video you helped me in my first challenge (install SQL on my Mac). I saw a lot of videos and read many forums where the solution passed by installing a virtual machine, which is paid. Hopefully I came to here! Thanks a lot !🙏

  • @juanmoctezuma9225
    @juanmoctezuma9225 ปีที่แล้ว +55

    Hi Dominic - Great video and super useful - it helped me out setting sql up! Although for setting the SA_PASSWORD when connecting docker with azure..., please make a note for the future that the password must be at least 8 characters long and contain characters from three of the following four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols... I ran into this issue and I'm sure (based on the comments) that plenty of folks had the same problem too - I hope this helps - cheers

    • @datawithdominic
      @datawithdominic  ปีที่แล้ว +1

      Glad it helped!

    • @daisyzongo6978
      @daisyzongo6978 ปีที่แล้ว +3

      Hello I going through the same issue but since the password has been put already in the query and running where exactly should I change it for it to work in the data azure studio while making the connection. I keep getting errors with the initial password in the query. If someone can help please

    • @e.a3813
      @e.a3813 ปีที่แล้ว +1

      Dude, you are a lifesaver thank you so much...
      You too Dominic !

    • @eirikureiriksson5035
      @eirikureiriksson5035 ปีที่แล้ว +1

      @@daisyzongo6978 Are you still having this trouble ?

    • @bekasiordia2568
      @bekasiordia2568 ปีที่แล้ว +1

      @@eirikureiriksson5035 I have it, how to change the password ?

  • @juliaguzheng
    @juliaguzheng ปีที่แล้ว +9

    Thank you Dominic! One little pitfall I noticed is that when running the command line (provided in video description), I had to replace double quote to single quote to get it work, not sure why, but I think is worth sharing, might help some of you who's having trouble.

    • @chrisjbeech1994
      @chrisjbeech1994 ปีที่แล้ว +1

      It wasn't working for me until I tried this - thank you!!

    • @mau5265
      @mau5265 ปีที่แล้ว +1

      thank you sososo much!

    • @iam_elgee
      @iam_elgee ปีที่แล้ว

      Works for me too now. thanks

    • @vamsikrishgvk513
      @vamsikrishgvk513 9 หลายเดือนก่อน

      Thanks! Faced the same issue and resolved with ur comment!

  • @hrm1355
    @hrm1355 ปีที่แล้ว +17

    Hi Dominic, great video. However on the final step I am getting following error on my mac:
    TCP Provider, error 40 - could not open a connection to SQL server: Could not open a connection to SQL Server
    Any help will be appreciated.

    • @katyalagoda3335
      @katyalagoda3335 8 หลายเดือนก่อน

      Did you find any solutions to this error?

    • @grandelle219
      @grandelle219 8 หลายเดือนก่อน

      and now, did someone find it?

    • @katyalagoda3335
      @katyalagoda3335 8 หลายเดือนก่อน

      @@grandelle219 well here's what worked for me: you just need to go to your Docker, open Containers tab, click on your sql container and run it (the status should change to "Running").

    • @gabrielmartins64646
      @gabrielmartins64646 8 หลายเดือนก่อน +2

      Hi, What solved my problem was creating a new password with at least 8 digits, including uppercase and lowercase letters, special characters, and numbers. The first password I created was not letting me connect to the server, then I redid the process and created a new password, and it connected to the Server. I hope this helps.

    • @zachkratz3092
      @zachkratz3092 7 หลายเดือนก่อน

      This worked for me, thank you @@gabrielmartins64646

  • @mattconway7910
    @mattconway7910 7 หลายเดือนก่อน +2

    Worked great, but one thing to add is that you have to go into advanced settings when starting the connections for the first time and set your port to 1433 which is what the terminal code that is programmed to grab. Hopefully that helps someone as it took me about 45 minutes of troubleshooting to realize.

    • @chibuzorwilliams1026
      @chibuzorwilliams1026 7 หลายเดือนก่อน

      Thanks, worked for me!

    • @kungliao764
      @kungliao764 2 วันที่ผ่านมา

      Thank you so much for sharing this!! This is so helpful! For anyone who has issue connecting, it might be the port bit. Go to advance settings > pop in 1433 in port.

  • @BitteRic
    @BitteRic 11 หลายเดือนก่อน +5

    Thank you for your well-detailed tutorial, but I am still having issues with connecting to the Azure Data Studio. I am getting the error "Login failed for user 'SA'." Please can you advise on what I am doing wrong?

    • @e.b.9178
      @e.b.9178 9 หลายเดือนก่อน

      It is frustrating. Great video though!

  • @Miss_Khemmie
    @Miss_Khemmie ปีที่แล้ว +5

    I have been battling with this for months. This video is a life saver. It made it so easy. Thank you so much.

  • @Carmensitaaa01
    @Carmensitaaa01 7 หลายเดือนก่อน +5

    For everyone with this error showing: " 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) ", you can fix it by deleting the container and creating another one by taking the exemple from the description of the video. This one worked for me..

    • @fasihussaini8554
      @fasihussaini8554 7 หลายเดือนก่อน

      thank you so much. God bless you immensely

    • @Champaignepapi1
      @Champaignepapi1 6 หลายเดือนก่อน

      not worked

    • @PraveenKumar-zi4vc
      @PraveenKumar-zi4vc 5 หลายเดือนก่อน +1

      where is the container and how to create another
      ??
      @Carmensitaaa01

    • @tutkuozdilek
      @tutkuozdilek 4 หลายเดือนก่อน +2

      If deleting container and creating another one did not work for you, generate your password with numbers, uppercase letters, lowercase letters and symbols. This worked for me.

  • @victorselvadorai6037
    @victorselvadorai6037 ปีที่แล้ว +2

    Thank you so much Dominic.. I am from finance background no knowledge on computers.. but wanted to learn SQL.. this video helped me to install the SQL with ease.. thank you so much.. wish you more success..

    • @rachelnavarro2897
      @rachelnavarro2897 ปีที่แล้ว

      I'm on the same boat as an Accountant, trying to install and learn SQL and other data bases to add to my resume. 😊

  • @jannyjudeikeh940
    @jannyjudeikeh940 ปีที่แล้ว +3

    Hi Dominic- please I was stuck at the place where you said I should copy the code and run it in the terminal. Please I don't have a terminal on my laptop as I am new in this. What terminal do you suggest I download?

  • @kaylamorris128
    @kaylamorris128 ปีที่แล้ว +7

    I tried exactly what others stated in the comments about the password requirements, but when I changed the password inside the terminal, I'm getting "zsh: event not found: 0". When I used your full command without changing the password, I had no issues until creating the connection and I'm getting a connection error that says " 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: Could not open a connection to SQL Server)".... Any advice would be greatly appreciated! I'm a little frustrated at this point lol

    • @ryang9363
      @ryang9363 ปีที่แล้ว +3

      lol im having the same issue right now

    • @croxyfn_
      @croxyfn_ ปีที่แล้ว

      @@ryang9363 have you been able to resolve? having same issue

    • @izufri8694
      @izufri8694 ปีที่แล้ว +1

      I have the same issue. Have you find a solution ?

    • @prasannashri.m
      @prasannashri.m ปีที่แล้ว

      Please do share if you find the solution to it, im struggling w the same

    • @prasannashri.m
      @prasannashri.m ปีที่แล้ว

      hey,, @kaylamichelmorris1457 @ryang9363 @izufri8694 I solved the issue, there's this thing called "trust server certificate" change it to "true". if its not anywhere in the connection details screen, click "advanced..." in the bottom right, you may find it there

  • @BayuLiano
    @BayuLiano ปีที่แล้ว +6

    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: Could not open a connection to SQL Server), why ?

    • @kaylamorris128
      @kaylamorris128 ปีที่แล้ว

      Same here. Did you get it figured out? Please assist if you can :)

    • @KomalSharma-vp4ng
      @KomalSharma-vp4ng ปีที่แล้ว

      Same problem is occurring with me

    • @KomalSharma-vp4ng
      @KomalSharma-vp4ng ปีที่แล้ว +1

      Someone please help with this

    • @hardikbehal9848
      @hardikbehal9848 ปีที่แล้ว

      Please provide solutions

    • @hardikbehal9848
      @hardikbehal9848 ปีที่แล้ว

      Please provide with solutions if you have any

  • @The_Shah_Family
    @The_Shah_Family ปีที่แล้ว +8

    Hi Dominic, I followed all the steps as it is but when I am adding a connection, I am running into an error -
    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: Could not open a connection to SQL Server)
    Please help me. How can I connect with you?

    • @Nicole-ru1es
      @Nicole-ru1es ปีที่แล้ว

      I also had this issue and don't know how to fix it😭

    • @mkteamlove
      @mkteamlove ปีที่แล้ว

      SAME!!! definitely something going on here...

    • @AruLcomments
      @AruLcomments ปีที่แล้ว

      I am also facing the same issue. Please update here if you find any solution for this issue.

    • @SimplyBreana
      @SimplyBreana ปีที่แล้ว

      @@AruLcommentsOMG I'm here combing the comments for the same issue! WHYYY 🫠

    • @AruLcomments
      @AruLcomments ปีที่แล้ว +1

      Hi All, @SimplyBreana. I found the solution you need to remove the Azure from the docker and need to re-install (the same steps) once it is done. At the time you need to modify the password through terminal code use password like 'Password12345' or some password with long char and numeric combination. This will work for sure. Let me know if this works.

  • @ДианаГабитова-у3о
    @ДианаГабитова-у3о 2 ปีที่แล้ว +13

    Please help!!!! getting error on the 9:21
    Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=1; handshake=14999;

  • @RichardFarrell-et3hi
    @RichardFarrell-et3hi ปีที่แล้ว +2

    Thank you so much. Other guides doesn't work. I tried to install for hours until I found you!

  • @VincenzoCappelluti
    @VincenzoCappelluti ปีที่แล้ว +6

    I spent a lot of days to find a effective guide. I finally found! Thank you so much!!!

  • @domlas93
    @domlas93 ปีที่แล้ว +6

    Hi! I’m having problems at the end, when i have to connect Azura to a server. It says: TCP Provider, error: 40 - Could not open a connection to SQL Server: Could not open a connection to SQL Server.
    Can you help me? Thanks

    • @sergiomorales9478
      @sergiomorales9478 6 หลายเดือนก่อน

      Did you figure it out? I'm having the same issue.Thanks

  • @jakesmit353
    @jakesmit353 ปีที่แล้ว +3

    Not sure if this may be seen but I'm getting an error that keep saying 'Failed to login user'. I followed all the steps to a tee, anybody have any recommendations as to why this could happen? Any helps is super appreciated!

  • @sheelsanghvi2170
    @sheelsanghvi2170 ปีที่แล้ว +2

    I was facing some issues with getting docker images running with Mac M2. This video really helped. Thank you!!

  • @madhavsingh4962
    @madhavsingh4962 ปีที่แล้ว +6

    Sir in the last stage when else create connection it shows instance specific error occurred while establishing a connection to SQL server . The network not found accessible. Verity instance name correct and configure to allow Remote connections provider : TCP

    • @AshishKorakana
      @AshishKorakana 7 หลายเดือนก่อน

      Same, How did you solve this?

  • @HieuTrung-mo3jl
    @HieuTrung-mo3jl 10 หลายเดือนก่อน +3

    I have a error : 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: 35 - An internal exception was caught)

  • @JurajBartos-w6s
    @JurajBartos-w6s 10 หลายเดือนก่อน +2

    Hello, Dominic. Thanks for your tutorial its great but I have problem. I have CONNECTION ERROR. Need this option: enable trust certificate I press ENABLE TRUST CERTIFICATE and I get Login failed for user 'SA'. Please help. George

  • @tsitsimunemo1765
    @tsitsimunemo1765 ปีที่แล้ว +3

    The simplest way to install and very straightforward. Thank you!!!

  • @kathyzhu9494
    @kathyzhu9494 11 หลายเดือนก่อน

    Thank you so much! The information is very detailed and has been incredibly helpful. I encountered an issue with the "docker engine stopped" during the process, only to realize later that I had not yet upgraded my Mac. After completing the upgrade, all the other processes ran smoothly.

  • @mrasoft7184
    @mrasoft7184 ปีที่แล้ว

    Well explained, thanks. Regarding the central memory of your Mac (Mini or MacBook or iMac or...). Will 16 GB central memory be sufficient for using Docker and Azure Data Studio ?

  • @yankibuwanhot5914
    @yankibuwanhot5914 6 หลายเดือนก่อน

    Hi Dominic. Thanks for the video. It was truly a lifesaver. I do have a challenge though. I have been running my scripts for days without issues until the need arose to restart my Mac because it froze. Since then, I have been unable to create a connection from azure data studio. Any pointers?

  • @rakshiths5089
    @rakshiths5089 11 หลายเดือนก่อน +6

    Hi Domnic - im stuck at the last step in azure data studio. please suggest what to select in Data base, trust server certificate, server group & encrypt. i have tried certified as true but it gives error. Requesting your help on this.

  • @axelarathnevadovega8314
    @axelarathnevadovega8314 ปีที่แล้ว +6

    Could you help me please?
    (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server: Could not open a connection to SQL Server)

    • @grandelle219
      @grandelle219 8 หลายเดือนก่อน +1

      hi, do you find the solution of this problem? i have the same

  • @wendixiao9275
    @wendixiao9275 2 ปีที่แล้ว +1

    Thanks for the tutorial!! so much helpful!, so I should use this command every time that I run the images?

    • @datawithdominic
      @datawithdominic  2 ปีที่แล้ว

      Hi Wendi, so once you have setup things as instructed in the video, the next time you want to use it you just have to open the docker application on your mac and click the play button next to the container holding your sql image. Once you see the docker container is running you can connect Azure Studio to the image in the same way as in the video. Sometimes azure data studio will remember that you have previously connected to this imaged and will show you the old connection and you just have to restart the connection by right clicking and connecting. Cheers !

    • @wendixiao9275
      @wendixiao9275 2 ปีที่แล้ว

      @@datawithdominic awesome!! Thanks for the instruction :)

  • @kathleenwong5548
    @kathleenwong5548 ปีที่แล้ว +4

    OMG this video helps a lot!!! I have M2 Macbook and was giving me quite a tough time at the Azure connection step. If anyone ever encounter some connection error 35 like I do, please try put "localhost, 1433" and try again. If it kept saying that connection fail to login "username" please try remove the container and run command in terminal again removing all the " quotation marks. This whole set up process took me 5 hours today..... so much research.

    • @pralhadgautam
      @pralhadgautam 9 หลายเดือนก่อน

      remove container from where and how? got error 35

    • @wintersol9921
      @wintersol9921 8 หลายเดือนก่อน

      Thanks a lot, I was just about to give up, but I found your comment. These type of comments help a lot, and thanks for commenting it and helping others to solve their errors too.

    • @wintersol9921
      @wintersol9921 8 หลายเดือนก่อน

      remove the container from docker, just go to docker, and click on containers, if status column is not running, remove it and basically do what the comment says@@pralhadgautam

    • @larissacabrera5210
      @larissacabrera5210 7 หลายเดือนก่อน

      this solved it for me, thank you so much!

    • @ajxysznhealth1207
      @ajxysznhealth1207 22 วันที่ผ่านมา

      Fantastic comment - this also fixed my issue

  • @charalamposkatsoukis8694
    @charalamposkatsoukis8694 5 หลายเดือนก่อน

    really good video and good comments too. I might add that if the azure cannot connect and throws this error --- " 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) "---- than you probably didn't start the docker. go to docker then to the containers tab and on the proper container (for me it is called sql) just press start. and now try to connect again. everything should be fine! A lot of the problems that someone could face during the procedure are already solved down on the comments' session !

    • @cathyordinola5816
      @cathyordinola5816 5 หลายเดือนก่อน

      I am currently having this problem but also I don't know what to put as the username... I am a bit confused

    • @charalamposkatsoukis8694
      @charalamposkatsoukis8694 5 หลายเดือนก่อน

      @@cathyordinola5816 you don’t need to change the username. Just let it as it is . Just put a strong password cause otherwise it might not work(did not have that issue personally but some others do refer to this problem).

  • @unbr3akable688
    @unbr3akable688 8 หลายเดือนก่อน

    "A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)" I get this error on the last step. So close yet so far
    Fixed. Works! Thank you!

    • @noyes6007
      @noyes6007 8 หลายเดือนก่อน

      can you say how you fixed it please

    • @AshishKorakana
      @AshishKorakana 7 หลายเดือนก่อน

      @@noyes6007 Yes please

  • @gioabeleda3269
    @gioabeleda3269 ปีที่แล้ว +1

    Thanks! Helped a lot! Trying to learn SQL and the tutorials didnt talk about how to make things work for Apple Silicon!

  • @1stephhy
    @1stephhy 10 หลายเดือนก่อน +2

    Hi Dominic, why does my azure connection page look different from yours? What should I input into the fields? Instead of username and password it has account, database, and server group.

  • @marcoschauer
    @marcoschauer ปีที่แล้ว

    Hi,
    thank you so much for this video. I have only one question left: Is ist possible to run a second, and named instance?
    So one sql instance with only the "servername" and one with "servername\myinstance"?

  • @shisharon5503
    @shisharon5503 ปีที่แล้ว

    Thank you! It's helpful. The solution for the following error is to create a password at least 8 digits. '"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: Could not open a connection to SQL Server)"

    • @danielihe7014
      @danielihe7014 11 หลายเดือนก่อน +2

      Hey, I'm having that issue right now at the moment, I made my password like 12 characters long but I still get the same error.

  • @preetpatel4119
    @preetpatel4119 ปีที่แล้ว +1

    Amazing walkthrough bro loved the way you explain each step! WORKED FOR ME!

  • @kolicsmate7506
    @kolicsmate7506 6 หลายเดือนก่อน +1

    Can't connect to the server on Azure due to connection error: 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). Is there a way to solve this? Many thanks!

  • @philleander
    @philleander 6 หลายเดือนก่อน +1

    i can't connect it. it says"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)"

  • @justaish
    @justaish 7 หลายเดือนก่อน +1

    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: CSP Provider, error: 40 - Could not open a connection to SQL Server)
    I have such a connection problem in azure data

  • @yanglin7443
    @yanglin7443 ปีที่แล้ว +3

    Hi Dominic, when I try to create a connection with sql in azure data studio, it represents the error of "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: Could not open a connection to SQL Server)". How could I solve it, could you please give me some advice?

    • @Raj-gk8br
      @Raj-gk8br ปีที่แล้ว +1

      same problem

  • @dom9882
    @dom9882 11 หลายเดือนก่อน +1

    Excellent video! Been struggling to get SQL loaded onto my M1 for a long long time. Until now :)

  • @ravalbhavesh4727
    @ravalbhavesh4727 6 หลายเดือนก่อน +1

    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)

  • @bhavya4568
    @bhavya4568 4 หลายเดือนก่อน +1

    Unable to connect to localhost. Getting error ( 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)

  • @meskeremwondimu6548
    @meskeremwondimu6548 ปีที่แล้ว +2

    Thank you so much for making this video dear! Every step is very clear and works smoothly! God bless you!

  • @Trandinglifee
    @Trandinglifee ปีที่แล้ว +17

    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: Could not open a connection to SQL Server)

    • @charlescartwright3470
      @charlescartwright3470 ปีที่แล้ว +1

      I get that exact error. No idea how to resolve this issue. Any ideas out there?

    • @jusnainimuslim1895
      @jusnainimuslim1895 ปีที่แล้ว +6

      @@charlescartwright3470 Got the same issue. Able to fix by deleting the existing sql image. Re-run the last command with changes on the current password to something stronger - "the password must be at least 8 characters long and contain characters from three of the following four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols.."

    • @m4verick.
      @m4verick. ปีที่แล้ว +4

      @@jusnainimuslim1895 thaks a lot ! That's exactly what happen to me and the way to solved it. Change for a strongest pass and Voilà

    • @siyuantao5733
      @siyuantao5733 ปีที่แล้ว

      @@jusnainimuslim1895 Thank you!!! That really helps!

    • @NiharikaNandal
      @NiharikaNandal ปีที่แล้ว +1

      @@jusnainimuslim1895 hi could you please help me out Hi I have been trying to download SQL on my Mac OS and I have tried with various means and still can't get through it. Everything was going really fine when I downloaded Azure there as an error which came on the screen stating "A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)" I would really request you to kindly help me out as I need to download all my setups asap. Thank You.

  • @vishnukumar3936
    @vishnukumar3936 4 หลายเดือนก่อน

    Hi Dominic, thank you for the video. I have an issue with my Azure Data Studio. Your screen for manage localhost server shows the 'Restore' button in the GUI as well as in the drop down but where as mine does not. How to resolve this? please help!

  • @NiharikaNandal
    @NiharikaNandal ปีที่แล้ว +8

    Hi I have been trying to download SQL on my Mac OS and your has really helped me out but likewise I have tried with various means and still can't get through it. Everything was going really fine when I downloaded Azure there as an error which came on the screen stating "A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)" I would really request you to kindly help me out as I need to download all my setups asap. Thank You.

    • @ryannetto2359
      @ryannetto2359 ปีที่แล้ว +1

      I got the same just now. What did you do? A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - 136)

    • @lpkomx88
      @lpkomx88 ปีที่แล้ว +1

      please write to me when you find out

    • @pallavisinha7338
      @pallavisinha7338 ปีที่แล้ว +1

      I am also facing the same issue. If someone can help with the solution.

    • @sachinverma8892
      @sachinverma8892 ปีที่แล้ว

      @@pallavisinha7338 i am also facing same issue if you find the solution please tell me

    • @sachinverma8892
      @sachinverma8892 ปีที่แล้ว

      @@pallavisinha7338 ok i got the solution you just have to install rosetta 2 on your macbook then try to reconnecting again after quitting the azure data app that is all your connection will be established successfully.

  • @mohammedfaizal3577
    @mohammedfaizal3577 ปีที่แล้ว +1

    It really worked for me after I look and try some tutorials, yours is the one that worked. Owe you a lot.

  • @rdatla1632
    @rdatla1632 2 ปีที่แล้ว +6

    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - 35180026)... can you please help me

    • @nickwhite5090
      @nickwhite5090 ปีที่แล้ว +2

      same problem...did you get it sorted and , if so, how? Ta.

    • @popovicilaur3471
      @popovicilaur3471 ปีที่แล้ว

      bro help me

    • @popovicilaur3471
      @popovicilaur3471 ปีที่แล้ว

      @@nickwhite5090 do you know how to solve it

  • @igohan_24
    @igohan_24 ปีที่แล้ว +1

    Thank you Dominic! your vid helped me out so much, I had to sub.

  • @anthonettemaemagalso8777
    @anthonettemaemagalso8777 ปีที่แล้ว +5

    In 9:23 after clicking Connect, A tab appeared with "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: Could not open a connection to SQL Server)"

    • @vishalmane3139
      @vishalmane3139 ปีที่แล้ว +1

      same

    • @cristinagarcia4675
      @cristinagarcia4675 ปีที่แล้ว

      "I got the same error, were you able to fix it?"

    • @anthonettemaemagalso8777
      @anthonettemaemagalso8777 ปีที่แล้ว

      I was not able to fix it. Was waiting for a response. I guess I will just reformat my whole laptop and start from beginning and find another way

    • @vishalmane3139
      @vishalmane3139 ปีที่แล้ว

      @@anthonettemaemagalso8777 still wont work

    • @cristinagarcia4675
      @cristinagarcia4675 ปีที่แล้ว

      @@anthonettemaemagalso8777 THANKS! 🙂

  • @PCduetto
    @PCduetto ปีที่แล้ว +2

    Hi, thank you for this video, do you know if it's possible to access a database set up in SQL Server on Mac M1 (as you described) from Visual Studio for mac?

    • @jesperno9174
      @jesperno9174 5 หลายเดือนก่อน

      Would also like to know this.

  • @MaHa63b
    @MaHa63b ปีที่แล้ว +1

    I want to thank you about excellent video. I got very much help when I configured MS SQL Server and Azure data Studio first time into M1 MacBook. Good Work!

  • @rivaamelia8632
    @rivaamelia8632 ปีที่แล้ว +3

    Hi Dominic, I am on the last step and it does't work for me. When I am trying tio connect to Azure, it shows me a 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: Could not open a connection to SQL Server)" I really need your help 😞😞😞

  • @nizlopist
    @nizlopist ปีที่แล้ว +1

    Thanks Dominic, clear and straightforward explanation.

  • @mdkashif2560
    @mdkashif2560 ปีที่แล้ว +3

    Hi, I've followed each of the steps as shown and was able to execute all of them till the second last one. In the last step, while trying to establishing connection, I'm getting a connection error😥. Any idea anyone why it can be and how can I sort it?
    Thanks!

    • @nandinisaudari8790
      @nandinisaudari8790 ปีที่แล้ว +2

      same🥲

    • @mdkashif2560
      @mdkashif2560 ปีที่แล้ว

      @@nandinisaudari8790 may be someone from the tread can help us!

    • @mkhatri007
      @mkhatri007 11 หลายเดือนก่อน +1

      me too

  • @fefezrdpriv
    @fefezrdpriv ปีที่แล้ว +2

    I’ts perfect. I have only one problem, every time I turn on my pc I say the connection is off. I try (from azure data studio) to log in but it return error. What can I do? Thanks

    • @datawithdominic
      @datawithdominic  ปีที่แล้ว +1

      Stop the docker image and restart it

  • @preetilazarus1653
    @preetilazarus1653 ปีที่แล้ว

    Thank you Dominic. This was super helpful. Fantastic job on breaking down the installation of sql server on mac !!

  • @shashankkharat1040
    @shashankkharat1040 ปีที่แล้ว +2

    Hi Dominic, thanks for this in details video. However I got stuck at the final stage, Step 6. I am getting a connection error. Not sure how to resolve it. Which says "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: Could not open a connection to SQL Server)"
    Any idea how to resolve this?

    • @jaquasianicole4371
      @jaquasianicole4371 ปีที่แล้ว

      I am also having this issue!

    • @aravindmyaka
      @aravindmyaka ปีที่แล้ว +2

      I resolved this issue by following the comment posted by @Juan Moctezuma " password must be at least 8 characters long and contain characters from three of the following four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols "

    • @shashankkharat1040
      @shashankkharat1040 ปีที่แล้ว

      @@aravindmyaka Thanks for your reply but it did not resolve the issue. The password has been put already in the query and running where exactly should I change it for it to work in the data azure studio while making the connection? I put up the password while creating a new connection. Now I am getting "A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - Undefined error: 0)" error. Should I delete the Sql container in docker and restart the process?

    • @m.velamjegan1625
      @m.velamjegan1625 ปีที่แล้ว

      @@shashankkharat1040 i had the same issue after changing the PW. Then i deleted the container and created a container with same user name "SA". now it is working

    • @prathamspianokingdom3937
      @prathamspianokingdom3937 ปีที่แล้ว

      @@m.velamjegan1625 how to delete the container?

  • @irzou9170
    @irzou9170 ปีที่แล้ว +15

    For those having user name error please be sure you also delete "{}" before adding your new password other way add it while connecting

    • @hannahg444
      @hannahg444 19 วันที่ผ่านมา

      ahh thank you so much that fixed my problem!

  • @JoubiEl-w8j
    @JoubiEl-w8j 8 หลายเดือนก่อน

    thanks dear, very helpful cheers..
    i have a question plzm
    How to connect the sql-server on Rider for dotnet mvc web devlopment?
    something Migrations and connectionString on the Jason file?

  • @WoodyDataAI
    @WoodyDataAI ปีที่แล้ว +2

    there are 2 problems on Azure sql Edge server: 1. Microsoft said they would not support the ARM any more, it means they would not support Azure SQL edge. 2. The azure sql edge has 1TB database size limitation. I just got the issue.

  • @iamyasinkaya
    @iamyasinkaya ปีที่แล้ว

    Thanks, I was making mistakes in m1/M2 chips because I am a new macbook user, this video was very useful.

  • @koush1k
    @koush1k ปีที่แล้ว +11

    For anyone who is having issue because of the wrong password format, you can remove the container using "docker rm containerid" and then run the command again with correct password format i.e., uppercase, lowercase, special character and minimum 8 in length. Your container will run again and you are good to establish the connection in the azure data studio with the new password. Hope this helps if someone facing this issue.

    • @DungVu-yt4fz
      @DungVu-yt4fz ปีที่แล้ว

      I use macbook air m2, I changed password and i could connect, but when i turn off the app , I lost the connection again and had to do the above steps again, anyone have the same problem?

    • @KalyanM9
      @KalyanM9 ปีที่แล้ว

      The correct password format helped me. Thanks!

    • @joemamaa420
      @joemamaa420 ปีที่แล้ว

      @@DungVu-yt4fz having the same issue. I use mcbook pro m1. did you find any solution ?

    • @mazennoop9411
      @mazennoop9411 11 หลายเดือนก่อน

      I have the same problem on m1pro@@DungVu-yt4fz

    • @ClipxDaily
      @ClipxDaily 11 หลายเดือนก่อน

      ​@@joemamaa420hi I have the same issue did u find a solution

  • @oluseyiolugbengalawal
    @oluseyiolugbengalawal ปีที่แล้ว

    ..worked perfectly..I just switched to Mac M2 and this video totally helped...I'm very grateful.

  • @theindiananalyst1903
    @theindiananalyst1903 ปีที่แล้ว

    Just wanted to thank you for the video. Finally after trying so long, I have been able to install it. Kudos for the work.

  • @subratkumarpurohit1935
    @subratkumarpurohit1935 2 ปีที่แล้ว +1

    Hi buddy! thanks a millions! , if I install this Azure Studio no need to install SQL 2019 or 2022 right? I was trying from 2 days without success in my M2

    • @datawithdominic
      @datawithdominic  2 ปีที่แล้ว

      That’s right, just azure studio and docker with sql container as shown in the video

    • @SDpictures
      @SDpictures ปีที่แล้ว +1

      Subrat sir i want to talk to you...i have mac m2 and not able to connect ....can you give me your Instagram handle please

    • @wissaagunoy6307
      @wissaagunoy6307 ปีที่แล้ว +1

      @@datawithdominic hello can you help me as the SA in logging in doesnt work :(

    • @rachelnavarro2897
      @rachelnavarro2897 ปีที่แล้ว

      ​@@SDpictures i also have the M2 what type of error you got?

  • @HarshitKishor-l1c
    @HarshitKishor-l1c หลายเดือนก่อน +1

    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught) :- getting this error. Can anyone help plz?

  • @ajinkyahazare7160
    @ajinkyahazare7160 ปีที่แล้ว +3

    If facing any issue just delete the docker container and then the image and follow all the steps again, also keeping the password given in the example is the best...

  • @nanaboateng4822
    @nanaboateng4822 2 ปีที่แล้ว +4

    Hi Dominic, I used the same Docker Run Command link you posted without changing the password. im beginning to get an error whenever i tried log in to the 'sa' login .. Please can you assist me getting this error fix

    • @Millerbaba
      @Millerbaba ปีที่แล้ว +2

      same here. have you found a solution to this?

    • @wissaagunoy6307
      @wissaagunoy6307 ปีที่แล้ว +1

      Yes same

    • @SK-bg5yt
      @SK-bg5yt ปีที่แล้ว +1

      @@wissaagunoy6307 same any update

  • @handsamegg
    @handsamegg ปีที่แล้ว +4

    Thank you soooooooo much! So simple, straightforward forward AND works smoothly!👍

    • @DanielleLLove
      @DanielleLLove ปีที่แล้ว

      i continue to experience errors...are you willing to share how you navigated?

  • @IbrahimRashid-lb6fp
    @IbrahimRashid-lb6fp ปีที่แล้ว +2

    Thanks very much for the video
    but I get this error when I try to connect to the server (Login failed for user 'SA'.)

  • @itsahmedbasha
    @itsahmedbasha ปีที่แล้ว

    Thanks for making this video. It really helped me to run SQL Server on my Mac M1 Air.

  • @irenenyasepe2436
    @irenenyasepe2436 11 หลายเดือนก่อน +1

    hello please Im stuck at the. create a connection area. whenever I try setting it this is the outcome from the terminal docker: Error response from daemon: Conflict. The container name "/sql" is already in use by container "a8e144d29a02c0de9cbd9e227f6329c39b83fad6e6b751e7110f09ebc590ac1e". You have to remove (or rename) that container to be able to reuse that name.
    and whenever I try to connect form the application this is the outcome Microsoft.Data.SqlClient.SqlException (0x80131904): Login failed for user 'SA'.
    at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) I know this is a lot but can you please help me

  • @kudajena
    @kudajena ปีที่แล้ว

    absolutely loved this tutorial, thank you. Do you also have tutorials on jmeter?

  • @RS-nc5qx
    @RS-nc5qx 4 หลายเดือนก่อน

    There are a few missing parts here. How do you connect to the localhost if it does not exist? do you have to deploy a server first? Please respond to my answer.

  • @ylast3756
    @ylast3756 ปีที่แล้ว

    None of the tutorial found on google work. Primarily because of format issues. Yours, however, worked for me! Thank you Indian brother!

  • @mnshk6
    @mnshk6 ปีที่แล้ว +2

    Thank you! I have a problem that I can not can next to localhost again. The issue: A network-related or instance-specific error occurred while establishing a connection to SQL Server. error:40. Please help me 🙏🙏🙏🙏🙏🙏

  • @mkhatri007
    @mkhatri007 11 หลายเดือนก่อน +1

    for creating a connection i have this error coming
    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: Could not open a connection to SQL Server)

  • @damusubi8655
    @damusubi8655 ปีที่แล้ว +1

    I'm struggling on the last step, what username and password are we suppose to be using? I'm using the same ones from the query but it's not connecting.

  • @koripellamohanakrishna2686
    @koripellamohanakrishna2686 9 หลายเดือนก่อน

    Thanks for the process, How can we upload bulk data Excel file into SQL server in mac, where the normal options are not shown here.

  • @basavarajkoti553
    @basavarajkoti553 ปีที่แล้ว +2

    Hi Dominic, was struggling to install from past few weeks. This video really help me. Initial had an issue with connection, but was able to solve.
    If we get a connection issue, mostly it will be of password length. When we set password, it should be of 8 characters long, should contain 1 upper case, 1 special character and combination of alphabets and numbers.
    Also when keying in the server name, we need to key in as
    localhost,1433
    Hope this helps others in solving the issue.

    • @kaylamorris128
      @kaylamorris128 ปีที่แล้ว +3

      I am still having this same issue. I tried exactly what you said but when I changed the password inside the terminal, I'm getting "zsh: event not found: 0". When I used his full command without changing the password, I had no issues until creating the connection and getting the connection issue that says " 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: Could not open a connection to SQL Server)".... Any advice would be greatly appreciated! I'm a little frustrated at this point lol

    • @abubakaribrahim2676
      @abubakaribrahim2676 ปีที่แล้ว

      You are life saver. Thanks a lot.

    • @chrisjbeech1994
      @chrisjbeech1994 ปีที่แล้ว +3

      This may be a silly question, but how do you reconnect to the server? Everything in the video worked for me, but then when I quit Azure and docker and tried to re-connect to the server, I get the below error: 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: Could not open a connection to SQL Server)

    • @basavarajkoti553
      @basavarajkoti553 ปีที่แล้ว

      @@chrisjbeech1994 Everytime you quit docker, you need to again start the docker and start the sql container and then open the azure data studio and connect to your local db.

    • @michael.cfa7
      @michael.cfa7 ปีที่แล้ว

      @@kaylamorris128hi I was in this same boat I just resolved mine myself I forgot to remove the bracket when typing my password can you check yours? Hope this helps:)

  • @francescamagnoli2905
    @francescamagnoli2905 ปีที่แล้ว +1

    You're my hero!!!! thank you for a through and easy to follow video!!

  • @graceakambe4154
    @graceakambe4154 11 หลายเดือนก่อน +1

    Thank you so much!! The video was really helpful!

  • @sylevan4116
    @sylevan4116 ปีที่แล้ว +1

    I have a problem: 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: Could not open a connection to SQL Server). How can I fix it, please!

    • @kappilantil4119
      @kappilantil4119 ปีที่แล้ว

      Use a stronger password when you enter that command in terminal, uppercase, lowercase, numerical and more than or equal to 8 characters, then itll work.

  • @kpopfandom28
    @kpopfandom28 ปีที่แล้ว +1

    i had some technical difficulties bc i am not that tech savvy lol but it worked!! thank you!

  • @prernagupta9930
    @prernagupta9930 2 ปีที่แล้ว +7

    Again an error is coming
    Below is the description
    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - Undefined error: 0)

  • @Cferley
    @Cferley 9 หลายเดือนก่อน

    Hi! I'm having trouble locating the same image you selected Azure SQL Edge. Is there another image I can use?

  • @maheshavirajini9185
    @maheshavirajini9185 19 วันที่ผ่านมา

    Hi Dominic, I'm getting an error saying '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 should I do next?

  • @alightedandsang
    @alightedandsang ปีที่แล้ว

    i watch so many videos and i can't install them but your video clip made it possible for me to install it. thanks for making such a useful video!

  • @arunsamria7495
    @arunsamria7495 ปีที่แล้ว +3

    I got
    Connection error
    login failed for user 'SA'
    anyone knows how to solve it
    thanks in advance

    • @lkanzsla2637
      @lkanzsla2637 ปีที่แล้ว

      do you know how to fix that error? I got the same one

  • @aler.4108
    @aler.4108 11 หลายเดือนก่อน

    Is it possible to install SSMS on Mac? Thanks a lot for the video.

  • @Zeeshan-mp3wt
    @Zeeshan-mp3wt ปีที่แล้ว +3

    hello, can anyone help me out i'm getting this error in azure data studio
    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: 35 - An internal exception was caught)

    • @ChandanKumar-mx7jx
      @ChandanKumar-mx7jx ปีที่แล้ว

      same problem here did you find any solution

    • @ChandanKumar-mx7jx
      @ChandanKumar-mx7jx ปีที่แล้ว +3

      found the solution just go to docker and start the image and it will work again

    • @Zeeshan-mp3wt
      @Zeeshan-mp3wt ปีที่แล้ว +1

      @@ChandanKumar-mx7jx i figured it out thanks for reply anyways 👍

    • @dinieazman9695
      @dinieazman9695 ปีที่แล้ว

      @@ChandanKumar-mx7jx how to start the image??

    • @ChandanKumar-mx7jx
      @ChandanKumar-mx7jx ปีที่แล้ว

      @@dinieazman9695 on right corner pause like button is made click it and it will start

  • @mymakiology
    @mymakiology ปีที่แล้ว +2

    Thank you so much!!!!!! I've been having problem connecting to the sql server and this solved it.

    • @danielopadiran
      @danielopadiran 6 หลายเดือนก่อน

      please how exactly did you solve the issue, I am facing the same issue

  • @digvijaysingh8010
    @digvijaysingh8010 17 วันที่ผ่านมา +1

    this videos was recommended by copilot to me to install sql server

  • @meganschlebecker9347
    @meganschlebecker9347 ปีที่แล้ว +1

    Thank you!!! I was stuck all day yesterday trying to figure this out, this is incredibly helpful!!

    • @Galacticgospel.
      @Galacticgospel. ปีที่แล้ว +3

      can you help me with the last step for some reason it won't let me connect to the server

    • @wissaagunoy6307
      @wissaagunoy6307 ปีที่แล้ว +3

      Yess same

    • @rachelnavarro2897
      @rachelnavarro2897 ปีที่แล้ว

      ​@@Galacticgospel. same. I think my problem is that i did change the ID from SA but then I noticed that he has the same SA in 2 different locations so now I may need to re-do that section again but not sure how that can be done, if i just need to copy it again and this time not changing anything only the password that i created. Were you able to work on your error?

    • @Galacticgospel.
      @Galacticgospel. ปีที่แล้ว +1

      @@rachelnavarro2897 not really but i did find a page that lets me practice sql for free

    • @rachelnavarro2897
      @rachelnavarro2897 ปีที่แล้ว +1

      @@Galacticgospel. ah que bien. me la pasas please? estoy aquí tratando de arreglar mi issue aun. Creo q es el ID q yo lo cambie a otro pero veo q cuando lo copy and paste solo cambie en un lado y en otro se quedo como SA aun.

  • @FlutterShipp
    @FlutterShipp ปีที่แล้ว

    This video is easy and straightforward, thanks a lot man.

  • @mrnickonline
    @mrnickonline 11 หลายเดือนก่อน

    Hi Dominic
    Great Video First of all. Very easy to follow. I think I made a mistake somewhere but still getting an error "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: 35 - An internal exception was caught)" not sure where did I go wrong ??

    • @PaolaPerezCU
      @PaolaPerezCU 11 หลายเดือนก่อน

      Just delete the container and image and repeat the process and use the password in the example it works just fine

  • @RaduRaul-o8q
    @RaduRaul-o8q 11 หลายเดือนก่อน

    Hello Dominic, how can I create a connection string ? it's very useful video, but if I wanna to create a connection string, how can I make it ?