How do i uninstall SQL from my Mac in order to download another version?

woah 21 Reputation points
2020-10-01T13:10:32.25+00:00

Hi, for a class I’m taking I had to download SQL server on my laptop. Because I had a Mac, I had to first download Docker and then use docker pull requests on my terminal to download SQL. It downloaded the March 2017 version instead of the 2019 latest version, because the pull request statement should’ve been sudo docker pull mcr.microsoft.com/mssql/server:2019-latest in order to have the 2019 version. I want to download the 2019 version, but I’m not sure how to go about it because I don’t want to corrupt anything or mess up the ports. I want to remove the 2017 SQL version completely and download the 2019 version, but I have never worked with a program like this before and am not sure how to do this. I read online somewhere that there are a series of commands to run, but I want to be certain instead of messing anything up. Does anyone know how to do this??
Thanks for any help in advance!

SQL Server Other
0 comments No comments
{count} votes

Accepted answer
  1. Cris Zhan-MSFT 6,661 Reputation points
    2020-10-02T03:05:12.403+00:00

    Hi @woah ,

    You can remove the SQL Server 2017 container, then pull and run the 2019 container image. More details please read following MS Docs.
    https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-ver15&pivots=cs1-bash
    or
    https://www.mytecbits.com/apple/macos/removing-sql-server-container-from-docker


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.