Quantcast
Channel: How to connect to SQL Server using sqlcmd on Linux? - Database Administrators Stack Exchange
Browsing all 4 articles
Browse latest View live

Answer by finn_matti for How to connect to SQL Server using sqlcmd on Linux?

My windows user was not allowed to run netstat -abn as suggested in geographika's answer, but I could work around it: By using tasklist | find /i "Ssms.exe", I got the following result:Ssms.exe 14144...

View Article



Answer by Catscrash for How to connect to SQL Server using sqlcmd on Linux?

This was an issue with the microsoft odbc driver, which has been fixed with Microsoft ODBC Driver 17.4With the new release, sqlcmd and sqlsrv driver for php are able to query UDP port 1434 to ask the...

View Article

Answer by geographika for How to connect to SQL Server using sqlcmd on Linux?

With the help of Dan Guzman's comment I got the connection working using a port. I had a Windows machine with SQL Management Studio connected to the database in question, and used:netstat -abnThen I...

View Article

How to connect to SQL Server using sqlcmd on Linux?

I have set up the Microsoft ODBC Driver 13 for SQL Server on an Ubuntu 16.04 machine. I am now trying to test a database connection, that includes both the server name and an instance name. The...

View Article
Browsing all 4 articles
Browse latest View live


Latest Images