How Do I Connect to SQL Server?

Brian Oliver 20 Reputation points
2025-03-15T21:54:15.8933333+00:00

How do I connect to a SQL server using my home computer? I ultimately just want to connect SQL to several CSV files that are on my desktop. Please let me know if you need additional information.

SQL

SQL Server Database Engine
0 comments No comments
{count} votes

Answer accepted by question author
  1. Erland Sommarskog 128.7K Reputation points MVP Volunteer Moderator
    2025-03-15T22:10:21.7233333+00:00

    Check the box Trust server certificate and you're on the air.

    I should add that this is not a good solution if you are in a larger network, as you could be subject to a so-called man-in-the-middle attack. The correct solution in that case would be to install a certificate on SQL Server which is then trusted by certificates in the Trusted Certificate stores on the users' machines.

    However, for a network at home, nah, that's over the top. On my machines at home I run with Trust server certificate.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 81,971 Reputation points Volunteer Moderator
    2025-03-16T16:18:31.1933333+00:00

    You need to click the “trust server certificate” checkbox and try again.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.