2016年5月3日 星期二

DAC:專用管理員連接

https://msdn.microsoft.com/zh-tw/library/ms190468(v=sql.120).aspx
sp_configure 'remote admin connections', 1;
GO
RECONFIGURE;
GO
說明
0
表示只允許使用 DAC 的本機連接。
1
表示允許使用 DAC 的遠端連接。

https://msdn.microsoft.com/zh-tw/library/ms189595(v=sql.120).aspx
只有 SQL Server 系統管理員 (sysadmin) 角色的成員可以使用 DAC 進行連接
預設port是1434,每個 SQL Server 執行個體只能有一個 DAC連接


ref:
SQL Server Express 與 「專用管理員連接(dedicated administrator connection,DAC)」
http://sharedderrick.blogspot.tw/2008/12/sql-server-express-dedicated.html

The Dedicated Admin Connection: Why You Want It, When You Need It, and How To Tell Who’s Using It
https://www.brentozar.com/archive/2011/08/dedicated-admin-connection-why-want-when-need-how-tell-whos-using/

Another great reason to enable remote admin connections
https://mattsql.wordpress.com/2014/11/06/another-great-reason-to-enable-remote-admin-connections/

沒有留言:

張貼留言