Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing mssql-tools with brew on Mac OS

Tags:

sql-server

I get this error when I try installing the tools

Error: Formulae found in multiple taps:
* microsoft/mssql-preview/mssql-tools
* microsoft/mssql-release/mssql-tools
like image 331
meet-bhagdev Avatar asked May 22 '17 19:05

meet-bhagdev


People also ask

Can you use Microsoft SQL Server on Mac?

Microsoft has made SQL Server available for macOS and Linux systems. This is made possible by running SQL Server from a Docker container. Therefore, there's no need to install a virtual machine with Windows (which was the only way to run SQL Server on a Mac prior to SQL Server 2017).


2 Answers

This error is triggered if you previously tapped the preview repo. You can resolve this by the following commands

brew untap microsoft mssql-preview
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
brew install mssql-tools
like image 148
meet-bhagdev Avatar answered Oct 21 '22 10:10

meet-bhagdev


The fix above didn't help me. What did, is to specify the full name of the package on the brew install section.

A.K.A -

brew untap microsoft mssql-preview 
<if this tap does not exist, then> -
brew untap microsoft mssql-release
brew tap microsoft/mssql-release 
https://github.com/Microsoft/homebrew-mssql-release
brew update
brew install microsoft/mssql-release/mssql-tools
like image 37
hilaf Avatar answered Oct 21 '22 08:10

hilaf