In this article series, I’ll review the tools and options to connect to an MS SQL server on macOS.
Table of contents:
In order to connect to Azure SQL Database from MacOS (OS X) for free, you need two things:
Download these files and install Oracle SQL Developer. Then extract the JTDS driver zip file in a desired location (e.g., \Users\”Your User Name”\JTDS\).
Now open your Oracle SQL Developer and from the menu open preference as following figure shows:
From the Preference window, open Database > Third Party JDBC Drivers:
Click on the photo to open the full size image!
Here click on Add Entry and find your JTDS folder and choose jtds-1.3.1.jar as the driver path and click on Select and then OK.
Note: Before moving on from this part, make sure you have added your IP address in the firewall setting of your Azure Portal’s desired database.
Now you are ready to add your database to the program. From the connection pane on the left, click on the “+” button.
Now click on “SQLServer” tab and add your database connection information:
Click on connect. Don’t forget to retrieve your database here. Now save this profile. Now your database is ready to be inquired by transact SQL.
Next article: MS SQL on macOS: Connect to your database using Python