2

Help me please to understand, what does it mean "ABC" in:

connectionString="Data Source=ABC;Initial Catalog=xyz; User ID=***; Password=***;"

How to connect to this SQL Server database using SSMS from another Windows computer? It's no trouble for me to connect to other databases with "Data Source=localhost", but "Data Source=ABC" puzzles me.

1 Answer 1

1

Data Source represents the instance name. If SQL Server is installed as default instance, the hostname alone is enough. If it is installed as a named instance, hostname\instancename should be provided.

If instance is running using a different port that the default one (1433), the port number should be provided.

More details can be found here and here.

Sign up to request clarification or add additional context in comments.

1 Comment

Ty Alexei, your answer (with links provided) is completely that I need to know.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.