Error code

SQL Server 17142

SQL SERVER17142
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

SQL Server service is paused — new connections are refused.

How to fix it

  1. Resume the SQL Server service with ALTER SERVER CONFIGURATION SET HADR SUSPEND or via SQL Server Configuration Manager.
  2. Contact the database administrator to determine why the instance is paused.
  3. Confirm the instance state with SELECT SERVERPROPERTY('IsSingleUser') and check errorlog.

Not affiliated with SQL Server. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.