on-internet
← Community

sqlcmd login failed when connecting SQL Server from Ubuntu

Stack Overflow ·

SQL Server 2016 is installed on windows server 2012 R2 server "dev" and sql server service is listening to all IP on port 1433. I can use sqlcmd to connect to it both from local and another remote windows server 2012. the command is simple: sqlcmd -S dev\INSTACE -d database -U test1 -P test1 However, when I try to connect from a Ubuntu 16.04 machine using same command, I always got following error: Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired. Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : TCP Provider: Error code 0x2AF9. Sqlcmd: Error: Microsoft ODB

Comments

Sign in or sign up to comment and upvote.

No comments yet.