Skip to content

Sqlserver Connection Strings

Sqlserver Connection String

Server=ServerName;Database=MSSQLTipsDB;User Id=Username;Password=Password;
Demo example:
Server=;User Id=test_user;Password=test_password;Trusted_Connection=True;TrustServerCertificate=True;

Note: If you are use "@" in password then you need to use "%40" instead of "@".

username: DB Username.

password: DB Password.

localhost: Mssql server IP or DNS.

1433: Mssql server default port.

DB_Name: Is your mysql schema name.

Ref_Link: Click here for more Sql-Server