Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

MSSQLFUN

I, Rohit Garg, am working as Consultant in IT Company. I am having an around 5 years of experience in MSSQL server & other Microsoft technologies. I am working as DBA in Microsoft SQL Server from last 5 years in e-Commerce, Telecom, Finance domain. In this tenure, I got a chance of working as Database administrator, Developer and trainer on SQL server 2000 to SQL Server 2012. I am holding Master’s degree in Computer Science along with certification in SQL Server & .Net. I like to learn new things by hand-on experience on regular basis. This journey is so far is delightful & valuable with the addition of wonderful friends.

SQL Server Reserve 1 user connection for DAC (Dedicated Administrator Connection)……want to confirm ?

Sometime before, I was giving training on basics of SQL Server. One of attendee is having doubt & want to confirm that SQL Server really Reserve 1 user connection for DAC (Dedicated Administrator Connection).

So I decide to show a demo for the same. I have changed the no. of User Connections to 1 & then try to login. So below is the PROOF.

Steps Performed for Demo

1. User Connections Current settings

2. User Connections New settings. You need to restart SQL Services after this.

3. I Try to Login to SQL Server by SSMS & got Error. But Why ?

4. I Try to Login to SQL Server by SQLCMD & got Error. But Why ?

5. Reason of getting error at step 3 & 4 is DAC (Dedicated Administrator Connection). SQL Server reserve one user connection for DAC.

6. Rollback the changes using DAC & come back to previous settings. You need to restart SQL Services after this.

7. User Connections After Rollback

If you liked this post, do like on Facebook at https://www.facebook.com/mssqlfun

Reference : Rohit Garg (http://mssqlfun.com/)


Comments

Leave a comment on the original post [mssqlfun.com, opens in a new window]

Loading comments...