mssql-cli icon indicating copy to clipboard operation
mssql-cli copied to clipboard

Trying to connect to MS-SQL server on Windows from MacOS

Open rockwayschool opened this issue 3 years ago • 1 comments

This might be user error... I am running mssql-cli v1.0.0 Names and domains are changed because this is a work computer mssql-cli -S myserver,myport I do believe I am successfully connecting to the server, because when I forgot to put the port I got a connection error. After putting in the port, I got a login error. For the user I put mydomain/myuser. I also tried myuser and \mydomain/myuser I am on macos monterey. The Directory utility app says I am in AD mydomain.mycompany.us I have tried both a user created for the db and also my AD SSO account. I have connected before using both users to this db from windows but I no longer have the laptop.

Am I missing some step in authenticating?

rockwayschool avatar Oct 13 '22 23:10 rockwayschool

maybe use sqlcmd to test the connectivity. I would facilitate the troubleshooting.

azinsharaf avatar Jan 27 '23 21:01 azinsharaf