Connecting to SQL Server using SSMS on Windows

Connecting to SQL Server using SSMS on Windows

Prerequisites

SQL Server Management Studio Configuration

Launch SSMS

Open SQL Server Management Studio. The Connect to Server dialog will appear.

Enter Server Details

Fill in the basic connection information:

FieldValue
Server typeDatabase Engine
Server namedb-mssql.pjwstk.edu.pl
AuthenticationWindows Authentication

Configure Options

  1. Click Options ».
  2. Go to the Connection Properties tab.

Important Security Settings Ensure these settings are correct to establish a connection:

  • Trust server certificate: ✅ Checked
  • Encrypt connection: ❌ Unchecked

Connect

Click Connect.

Note: The first connection may take a few seconds.

Troubleshooting

Authentication Issues

If you receive an authentication error:

  1. Check if you are connected to the PJATK VPN.
  2. Verify Windows Authentication is selected.
  3. Try running SSMS as Administrator.
Server Connection Error

If you cannot connect:

  1. Verify Trust server certificate is Checked.
  2. Verify Encrypt connection is Unchecked.
  3. Check server address: db-mssql.pjwstk.edu.pl.
  4. Ensure VPN connection is active.

Summary

You should now be able to connect to the PJATK SQL Server, access your database, and execute queries.