armchairexpert
New Member
Hi, I ran the following command on a new Linux Ubuntu 22.04 Server. It should connect to a SQL Server version 2012 on a Windows Server
sqlcmd -S <server-ip> -U <user> -P <password> -d <database>
I got the following errors on Linux:
Sqlcmd: Error Microsoft ODBC Driver 17 for SQL Server : TCP Prover: Error code 0x2746.
Sqlcmd: Error Microsoft ODBC Driver 17 for SQL Server : TCP Prover: Client unable to establish connection.
The SQL Server configuration is fine. TCP/IP is enabled. Firewall is off. Port 1433 is enabled.
I have attached my installation instructions on Linux. Can someone please help?
Thanks,
Rob
sqlcmd -S <server-ip> -U <user> -P <password> -d <database>
I got the following errors on Linux:
Sqlcmd: Error Microsoft ODBC Driver 17 for SQL Server : TCP Prover: Error code 0x2746.
Sqlcmd: Error Microsoft ODBC Driver 17 for SQL Server : TCP Prover: Client unable to establish connection.
The SQL Server configuration is fine. TCP/IP is enabled. Firewall is off. Port 1433 is enabled.
I have attached my installation instructions on Linux. Can someone please help?
Thanks,
Rob