How to Connect Azure Data Studio to SQL Server (Easy Steps)

Before starting the actual topic, let’s discuss the prerequisites needed here.

Table of Contents

Prerequisites

Below are the prerequisites needed here.

  1. You must have an Azure subscription or account. If you don’t have an Azure account, you needn’t worry- you can create a free Azure account now.
  2. You must download and install Azure Data Studio on your PC.
  3. Install SQL Server Management Studio’s latest version on your machine.

Assuming you are ready with all the prerequisites needed here, let’s start with the steps needed to connect to the SQL server from Azure Data Studio.

  1. Launch Azure Data Studio on your PC.
  2. Click on the New dropdown –> Then click on the New Connection option, or click the Create a Connection button.
how to connect to sql server using azure data studio

3. On the Connection window, provide the below details

  • Connection type: Choose the Connection type as Microsoft SQL server.
  • Select the Parameters radio button.
  • Server: Provide the Server name.
  • Authentication type: Choose the authentication type and the other details based on the authentication type.

Finally, click on the Connect button.

how to connect sql server in azure data studio

Note: To get the server name and authentication details, open the SQL server management studio, and on the Connect to server pop-up, you will get all the details.

how to connect sql server to azure data studio

Now, you can see that we can connect the Azure Data Studio to the SQL server successfully without any issues.

azure data studio connection error

You may also like following the articles below

Wrapping Up

This article discussed how to connect Azure Data Studio to the SQL server and Azure SQL database. Thanks for reading this article. I hope it helps !!!

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!