Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6144

Why can't I query a Windows 2012 server running SQL Server 2016 from Ubuntu 2404?

$
0
0

I am setting up a machine with Ubuntu 24.04 and am able to query a number of windows servers running SQL Server with no problem - however, there is one server where I get the following error:

[08001][Microsoft][ODBC Driver 18 for SQL Server]TCP Provider: Error code 0x2746[08001][Microsoft][ODBC Driver 18 for SQL Server]Client unable to establish connection[ISQL]ERROR: Could not SQLDriverConnect

The query I am running is:

isql -v -k 'DRIVER=ODBC Driver 18 for SQL Server;Server=<SERVER>;UID=<USER>;PWD=<PASSWORD>;Database=<DATABASE>;ColumnEncryption=No;TrustServerCertificate=yes'

More details:

Client Machine:

Ubuntu 24.04
Open SSL version 3.0.13
ODBC Driver: ODBC Driver 18 for SQL Server

Server Machine:

Windows 2012
MS SQLServer 2016


Viewing all articles
Browse latest Browse all 6144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>