Skip to content

Connecting to SQL Server

Johannes Passing edited this page Jul 27, 2023 · 2 revisions

📝 This Wiki page has moved.

For the latest content, see Connect to SQL Server on the IAP Desktop documentation page.

Prerequisites

To follow the steps in this guide, make sure that you meet the following prerequisites:

To use SQL Server Management Studio and connect to SQL Server, do the following:

  1. In the Project Explorer tool window, right-click your SQL Server VM and select Connect client application > SQL Server Management Studio:

    Context menu

  2. IAP Desktop now creates an IAP TCP forwarding tunnel and opens SQL Server Management Studio.

    If your connection settings contain Windows credentials, SQL Server Management Studio automatically authenticates you to SQL Server using Windows authentication.

    If you haven't configured Windows credentials yet, you can enter credentials manually:

    SSH Terminal

    ✏️ Note: You can use Windows authentication even if your local computer isn't domain-joined, or joined to a different Active Directory domain than the SQL Server VM.

Customize connection settings

To customize the connection settings, you can use the Connection Settings tool window:

  1. In the Project Explorer tool window, right-click the SQL Server VM and select Connection Settings.

  2. In the Connection Settings window, you can save your Windows credentials or switch to SQL Server authentication:

    Connection settings

    If you specify a setting that deviates from the default, it is shown in bold typeface.

Instead of customizing settings for each VM instance individually, you can also specify settings that apply to an entire zone or projects:

  1. In the Project Explorer tool window, right-click a zone or project and select Connection Settings.
  2. In the Connection Settings window, customize settings as needed. The settings apply to all VM instances in the respective zone or project, unless explicitly overridden.

What's next