We are excited to announce the availability of the second preview for ODBC Driver 13.1 for Mac. The preview release adds support for macOS Sierra with unixODBC Driver Manager and and enables access to SQL Server, Azure SQL Database and Azure SQL Data Warehouse from any C/C++ application on Linux.
- Support for mac OS Sierra
Install the ODBC Driver for macOS El Capitan and Sierra
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew tap microsoft/msodbcsql https://github.com/Microsoft/homebrew-mssql-preview brew update brew install --no-sandbox msodbcsql #for silent install ACCEPT_EULA=y brew install --no-sandbox msodbcsql
Try our Sample
Once you install the driver that runs on a supported Linux distro, you can use this C sample to connect to SQL Server/Azure SQL DB/Azure SQL DW. To download the sample and get started, follow these steps:
wget "https://raw.githubusercontent.com/Microsoft/sql-server-samples/master/samples/tutorials/c/linux/sample_c_linux.c" gcc sample_c_linux.c -o sample_c_linux -lodbc -w #make sure you change the servername, username and password in the connections string ./sample_c_linux
Please file bugs/questions/issues on our Issues page. We welcome contributions/questions/issues of any kind. Happy programming!
Survey and Future Plans
Please take this survey to help us understand how we are doing.
Going forward we plan to improve test coverage, fix bugs reported on our Issues page and add feature support for Always Encrypted, Transparent Network IP Resolution and Bulk Copy Support. Stay tuned for upcoming releases that will have additional feature support and bug fixes.
Meet Bhagdev (email@example.com)