I have MS SQL Server 2017 running on CentOS for several months without a problem. Three days ago I applied yum update
that included update for mssql-server
as well. and ever since I can't connect to the server, getting the following error:
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'. Reason: Server is in script upgrade mode. Only administrator can connect at this time..
Most of the recommendations are to wait until script updates finish; but I waited for 3 days. Also restarted the service and restarted the box.
Check the Release Notes for SQL Server on Linux page. Microsoft's aware of the issue, and they write: