Forum Discussion
Arshad440
Oct 27, 2023Brass Contributor
Cannot connect to sql server in different system of the same network
Hi All,
I just want to connect a server which is not in my system but in same network by using CMD,
when i connect in SSMS, there was no problem.
The Error Message showing in CMD is : 'Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed. The login is from an untrusted do'main and cannot be used with Integrated authentication..'
Does Anyone Have Idea behind this?
2 Replies
Sort By
- olafhelperBronze ContributorDo you use the same authentication mode Windows/SQL & same credentials for SSMS as for SqlCmd?
- Arshad440Brass ContributorI tried the same authentication mode