Using Microsoft ODBC Drivers on macOS

You might encounter the following error message when trying to use the Microsoft ODBC Driver for SQL Server on macOS:

“This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server.”

In order to install the missing ODBC driver, please take a alook at the latest official ODBC Driver installation guide from Microsoft.

After installing the driver, you will need to manually symlink the Homebrew installed driver to the default location where the Microsoft ODBC Driver for SQL Server expects it to be. This can be done by running the following command: