I've recently installed MS SQL Server Express 2017 on Slackware64 14.2. I can do queries from the command line using /opt/mssql-tools/bin/sqlcmd. I can also do queries from a remote host via port 1433. In KDE, I can run sqlops as a normal user. I get the SERVERS connection page. The stderr output seems innocuous:
Code:
$ sqlops
[main 4:18:01 PM] update#setState idle
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
[main 4:18:32 PM] update#setState checking for updates
[main 4:18:33 PM] update#setState idle
I've tried entering the local hostname, hostname/SQLEXPRESS, and the hostname of a remote server to which I'm able to connect from java on other Linux hosts. All I get is a spinning indicator and it never connects or gives any sort of error. No errors logged to /var/opt/mssql/log/errorlog.
If I try
Code:
sqlcmd -U sa -P password -S labrat\\SQLExpress
I get "Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : MAX_PROVS: Error Locating Server/Instance Specified [xFFFFFFFF]. ... Check if instance name is correct and if SQL Server is configured to allow remote connections."
Any ideas?