Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rockwayschool opened this issue Oct 13, 2022 · 1 comment
Open

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

rockwayschool opened this issue Oct 13, 2022 · 1 comment

Comments

@rockwayschool
Copy link

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?

@azinsharaf
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants