Remove Microsoft SQL Server
Open terminal and type the following command to stop the mssql server:
systemctl stop mssql-server
You will get this authentication dialog box above, sign-in with your credentials.
Then type the following command in the terminal to remove the application:
sudo apt-get remove -y mssql-server
Type the following command in the terminal to delete Azure security center.
sudo apt-key del microsoft.asc
Change directory to the sql directory, then list its contents, using the following commands.
cd sql
ls
Results:
microsoft.asc mssql-server-2019.list
Remove content from the sql directory, then list sql directory contents to verify they were removed.
rm microsoft.asc
rm mssql-server-2019.list
ls
Change directory back to your home. Then remove the sql directory
cd -/home/your username here
rm sql
rm: cannot remove 'sql': Is a directory
rm -f --dir sql
Comments
0 comments
Please sign in to leave a comment.