---
title: How to Connect Remotely to MSSQL Database
description: "To connect to the SQL server successfully, please use the details below. Note that, you need to change the **HOSTNAME** of your server to either lim202.truehost.cloud or hnk201.truehost.cloud depending on which server you belong. ## FOR SQL SERVER 2019 Server…"
url: "https://truehost.com/support/knowledge-base/how-to-connect-remotely-to-mssql-database/"
updated: "2024-06-07"
---

# How to Connect Remotely to MSSQL Database

To connect to the SQL server successfully, please use the details below. Note that, you need to change the **HOSTNAME** of your server to either lim202.truehost.cloud or hnk201.truehost.cloud depending on which server you belong.

## FOR SQL SERVER 2019

Server Type: **Database Engine**
Server name: **HOSTNAME,1435**(change to your server hostname as provided on the Account details)
Authentication:**SQL Server Authentication**
User name: **Your database username**
Password: **Password for User name above**

## FOR SQL SERVER 2017

Server Type: **Database Engine**
Server name: **HOSTNAME,1434** (change to your server hostname as provided on the Account details)
Authentication:**SQL Server Authentication**
User name: **Your database username**
Password: **Password for User name above**

## FOR SQL SERVER 2012

Server Type: **Database Engine**
Server name: **HOSTNAME,1433** (change to your server hostname as provided on the Account details)
Authentication: **SQL Server Authentication**
User name: **Your database username**
Password: **Password for User name above**
