dbcli / dbcli/mssql-cli

cannot connect to remote server

Open
#497 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
191
PR merge metrics
No merged PRs in 30d

Description

I am trying to connect to a remote MS SQL server with mssql-cli, I use this command:

/usr/local/bin/mssql-cli -S server -U admin -d db -P ****

and i get this error:

Error message: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)

However, I am able to connect using sqsh with no problem:

sqsh -S server -U admin -D db -P ****

Since I can connect with sqsh but not mssql-cli, and I am able to connect to a local instance of mssql, I'm not sure where to go from here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.