Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 314771d

Browse files
authored
Merge pull request #16556 from MicrosoftDocs/MikeRayMSFT-patch-2
Update start-sql-server-in-single-user-mode.md
2 parents 452756e + 892f3f6 commit 314771d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

docs/database-engine/configure-windows/start-sql-server-in-single-user-mode.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Start SQL Server in Single-User Mode | Microsoft Docs"
33
description: 'Learn about single-user mode in SQL Server. See when it is useful and how to use the startup option "-m" to start an instance of SQL Server in this mode.'
44
ms.custom: ""
5-
ms.date: "09/20/2017"
5+
ms.date: "08/11/2020"
66
ms.prod: sql
77
ms.prod_service: high-availability
88
ms.reviewer: ""
@@ -41,7 +41,13 @@ For example, **-m"SQLCMD"** limits connections to a single connection and that c
4141

4242
> [!IMPORTANT]
4343
> Do not use this option as a security feature. The client application provides the client application name, and can provide a false name as part of the connection string.
44-
44+
45+
The following example starts the SQL Server instance in single-user mode and only allows connection through the SQL Server Management Studio Query Editor.
46+
47+
```console
48+
net start "SQL Server (MSSQLSERVER)" -m"Microsoft SQL Server Management Studio - Query"
49+
```
50+
4551
## Note for Clustered installations
4652
For [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] installation in a clustered environment, when [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] is started in single user mode, the cluster resource dll uses up the available connection thereby blocking any other connections to the server. When [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] is in this state, if you try to bring [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent resource online, it may fail over the SQL resource to a different node if the resource is configured to affect the group.
4753

0 commit comments

Comments
 (0)