Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 2639

Dedicated Admin Console (DAC) a reserved connection on SQL Server that grants special access to system tables and can help diagnose problems

4 votes
Accepted

How do I log into the Dedicated Admin Console (DAC) on Linux?

Clients There are two Linux clients from Microsoft that can connect to SQL Server's Dedicated Administrator Connection (DAC), mssql-cli. … sqlcmd -I -S admin:localhost -U sa Server Settings If connecting from outside localhost you may have to enable remote DAC first. …
Evan Carroll's user avatar
  • 64.7k
2 votes

Why am I getting "Invalid object name 'sys.sysobjvalues'."

Connection (DAC). … Prolly not a good idea, but for proof it'll work connect to DAC (-S admin:localhost on Linux) sqlcmd -S admin:localhost -U sa -q "SELECT * FROM sys.sysobjvalues;" | less -S …
Evan Carroll's user avatar
  • 64.7k
2 votes
Accepted

SQL Server Error "Database 'mssqlsystemresource' does not exist."

The mssqlsystemresource database is only available in single-user mode. On Linux, that means sudo systemctl stop mssql-server sudo -u mssql /opt/mssql/bin/sqlservr -m
Evan Carroll's user avatar
  • 64.7k