Setting up SQL Server on macOS using Docker

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • This video is the recording of the steps I have followed for setting up SQL Server on macOS using Docker Desktop community edition.
    🌟 Detailed Article: www.mytecbits....
    🌟 Download docker desktop from: www.docker.com...
    🌟 Download SQL Server Docker Image from: hub.docker.com...
    🌟 Code to pull the SQL Server container image:
    docker pull mcr.microsoft.com/mssql/server:2019-latest
    🌟 Code to run the SQL Server container image:
    docker run --name mssql_docker -e 'ACCEPT_EULA=Y' \
    -e 'SA_PASSWORD=[[Your-Password]]' -p 1433:1433 \
    -d mcr.microsoft.com/mssql/server:2019-latest
    🌟 To check and confirm that the SQL Server container is running:
    docker ps
    🌟 Download Azure Data Studio from: github.com/Mic...
    🌟 My Website: www.mytecbits.com
    #macOS #docker #sqlserver

КОМЕНТАРІ • 16

  • @NASSER199200
    @NASSER199200 2 роки тому +2

    hello, mr . I don't work for me, I have macbook m1 , sql server don't run in docker ??? why

  • @sandeeprajurs1994
    @sandeeprajurs1994 2 роки тому +3

    I am not sure how its running for you, but MSSQL does not work for mac M1 chips as there is no support from microsoft yet

  • @buttbutt7376
    @buttbutt7376 3 роки тому +3

    hi pls help,
    when i insert the code:
    docker run --name mssql_docker -e 'ACCEPT_EULA=Y' \ -e 'SA_PASSWORD=[[Your-Password]]' -p 1433:1433 \ -d mcr.microsoft.com/mssql/server:2019-latest
    it comes out as 'docker: invalid reference format'. how do I fix this? thank u

  • @itzzrayy
    @itzzrayy 3 роки тому

    Thank you very very very mush mate

  • @noffsmith9906
    @noffsmith9906 3 роки тому

    Hi, thanks for the tutorial i made all the steps but for any reason it gives me an error message "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=75175; handshake=0;"
    do you know what could be happening?
    thanks

    • @mytecbits
      @mytecbits  3 роки тому +1

      Hi,
      Sorry for the delay in replying your query.
      To avoid connection errors. please check for the below points:
      1. Make sure the sql container in docker is running by going to the docker desktop (ua-cam.com/video/fGmaK88j4xg/v-deo.html). If it is not running then start it.
      2. In azure data studio, the server should be localhost.
      3. Make sure you are using the same sa password you have specified in the run command.

    • @noffsmith9906
      @noffsmith9906 3 роки тому +1

      @@mytecbits thanks ir was the localhost, I have to put my ip and no the word localhost

  • @Velben
    @Velben 3 роки тому +1

    Not working and I'm tech savvy

  • @hac02803
    @hac02803 4 роки тому

    Great video! Thanks!

  • @suryakantasahoo8681
    @suryakantasahoo8681 3 роки тому

    After copy the status what is the next step

  • @maryamfatima3015
    @maryamfatima3015 3 роки тому +1

    I got the connection failed error when i entered "sa" as a user name. Sir Please advise.

    • @mytecbits
      @mytecbits  3 роки тому +1

      Hi,
      Sorry for the delay in replying your query.
      To avoid connection errors. please check for the below points:
      1. Make sure the sql container in docker is running by going to the docker desktop (ua-cam.com/video/fGmaK88j4xg/v-deo.html). If it is not running then start it.
      2. In azure data studio, the server should be localhost.
      3. Make sure you are using the same sa password you have specified in the run command.

  • @ALIGILANISHAH
    @ALIGILANISHAH 2 роки тому

    Helpful :-)