[root@lhropeneuler24 bk]# cat /etc/os-release
NAME=“openEuler”
VERSION=“24.03 (LTS)”
ID=“openEuler”
VERSION_ID=“24.03”
PRETTY_NAME=“openEuler 24.03 (LTS)”
ANSI_COLOR=“0;31”
[root@lhropeneuler24 bk]# sqlcmd -S 192.172.1.79,1436 -U SA -P xxx -C
Sqlcmd: Error: Microsoft ODBC Driver 18 for SQL Server : TCP Provider: Error code 0x2746.
Sqlcmd: Error: Microsoft ODBC Driver 18 for SQL Server : Client unable to establish connection.
[root@lhropeneuler24 bk]#