1. Open SQL Server Configuration Manager

2. Enable TCP/IP Protocol

3. Configure TCP/IP Port

4. Restart SQL Server Service

5. Enable Mixed Mode Authentication (SA Account)

6. Enable and Set Password for SA Account

  1. In SSMS, expand: Security → Logins
  2. Right-click sa → Properties.
  3. On General: Set a strong password (e.g., P@ssword123)
  4. On Status: Ensure Login is set to Enabled.
  5. Click OK.

7. Test the Connection

  1. Open SSMS.
  2. On login screen:
  3. Server name: localhost,1433
  4. Authentication: SQL Server Authentication
  5. Click Connect — if successful, the configuration is correct.