Microsoft SQL Server Connection String

Got the code but can't get the SQL Server connection string? Fear not, here is the Driver string with host, port number, database, username and password.

DRIVER={SQL Server};SERVER=localhost, 1433;DATABASE=MyDatabase;UID=sa;PWD=Admin-123;


gemette