Azure Data Studio (previously known as SQL Operations Studio) is a free tool that you can use to manage SQL Server. It uses a graphical user interface (GUI) that helps you view the various databases and objects within a SQL Server instance. It can run on Windows, macOS, and Linux, and it’s also designed to be used with Azure SQL Database, and Azure SQL Data Warehouse.
Azure Data Studio is a cross-platform database tool for data professionals using the Microsoft family of on-premises and cloud data platforms on Windows, MacOS, and Linux. –Microsoft For many standards functions, Azure Data Studio offers a much richer experience that Microsoft’s flagship database management tool, SQL Server Management. IBM Data Studio provides an integrated, modular environment to enable database development and administration of IBM Db2® for Linux®, UNIX and Microsoft Windows. It also offers collaborative database development tools for IBM Db2 for z/OS®, IBM Db2 for i, IBM Informix® and IBM Big SQL.
Here I explain how to install Azure Data Studio onto a Mac, then how to use it to connect to SQL Server.
Install Azure Data Studio
To install Azure Data Studio onto your Mac:
- Visit the Azure Data Studio download page, and click the .zip file for macOS
- Once the .zip file has finished downloading, double click it to expand its contents
- Drag the .app file to the Applications folder (the file will probably be called Azure Data Studio.app)
If you use Windows or Linux, the above linked page also includes download files for those platforms, as well as instructions for installing.
Connect to SQL Server
Now that Azure Data Studio is installed, you can use it to connect to SQL Server.
- Launch Azure Data Studio just as you would launch any other application (e.g. from the Launchpad or Applications folder)
- Enter the login credentials and other information for the SQL Server instance that you’d like to connect to: Mine looked like this (based on my SQL Server on a Mac tutorial):
- Server Name: localhost
- Authentication Type: SQL Login
- User name: sa
- Password: reallyStrongPwd123
- Database Name: <default>
- Server Group: <default>
If you use a port other than the default 1433, click Advanced and enter it in the Port field.
Alternatively, you can append it to your server name, with a comma between. For example, if you use port 1400, use
Once Azure Data Studio has connected to the SQL Server instance, you’ll be presented with the server dashboard, which looks something like this:
You can now go ahead and create databases, run scripts, and perform other SQL Server management tasks.
Error when Connecting?
If you receive an error when trying to connect, check that SQL Server is in fact running.
The above example connects to SQL Server running on the local machine (localhost refers to the local machine). In our case, the local machine is a Mac.
Therefore, the above steps assume that you’ve already installed SQL Server on your Mac.
If you’ve previously installed SQL Server on your Mac, but you still get a connection error, make sure your Mac has Docker running and you’ve started the SQL Server Docker container.
Below are instructions for launching Docker and starting the Docker container.
Open Docker and Start the Docker Container
- Open Docker just as you would open any other application (e.g. via the Launchpad, Applications folder, etc).
- Once Docker is running, open your Terminal and start the Docker container. It should look something like this:
This starts a previously stopped container called sql_server_demo. This is the name that I gave the container in my SQL Server on a Mac tutorial. You’ll need to modify this command to suit your own container’s name.
Now that you’ve installed Azure Data Studio on your Mac, you might be wondering where to start?
Here’s how to create a database in Azure Data Studio to get you started.
And here’s how to restore a database using Azure Data Studio, written specifically for the Mac.
Transforms database management
IBM Data Studio provides an integrated, modular environment to enable database development and administration of IBM Db2® for Linux®, UNIX and Microsoft Windows. It also offers collaborative database development tools for IBM Db2 for z/OS®, IBM Db2 for i, IBM Informix® and IBM Big SQL.
Manages multiple databases
Enables you to easily create and manage heterogeneous database environments. Provides a deployment manager to simplify enterprise database deployments.
Streamlines database development
Uses advanced query validation, object management and system deployment features to streamline database development.
Provides an integrated environment and shared platform to improve IT collaboration.
Supports Big SQL
Data Studio Formula
Provides Big SQL connection and parser support using specific Big SQL grammar.
Accelerate database development
Empower developers to write high-quality code rapidly using optimized frameworks. Reduce time to market and enhance compliance by modeling data assets and automating database design processes.
Enhance cross-team collaboration
Collaborate using a development process that spans database, application and data access requirements. Increase data quality and consistency by using shared policies, models and methods. Improve productivity with a shared solution across roles.
Enable advanced database testing
Azure Data Studio For Mac
Reduce the risks, costs and time associated with enterprise database testing processes, and improve your ability to meet service level agreements. Add rigorous testing capability by capturing and replaying production workloads. Enhance your ability to test upgrades and migrations, and implement tuning changes.
Improve database development and management
Centralize database health monitoring and job management. Use change management capabilities to alter objects, permissions and dependencies. Tune queries for best performance, and automate Db2 migration projects. Supports native encryption for Db2 10.5 FP5 and later versions. Benefit from an Eclipse SDK that enables shell sharing with IBM InfoSphere® Data Architect, Rational Application Developer and Rational Developer for z/OS systems.