SQL Server DBA Tutorial 139-What is DAC in SQL Server and how to use DAC

preview_player
Показать описание
In this video you will learn:
What is DAC in SQL Server?
How to connect to SQL Server using DAC via SQL Server Management Studio and how to connect to SQL Server using DAC via SQLCMD. It also provides the resolution to the errors below:
1- Dedicated Administrator connection are NOT supported visa SSMS as it establishes multiple connection by design
2- Connection was established successfully and then failed during handshake.
It also demonstorates how to force connection to use TCP/IP protocol as well as how to enable and disable Named Pipe protocol in SQL Server. Below are the DAC commands used in this video:
admin:DynamicsAXDev\SQLTEST --SSMS connection
sqlcmd -Sadmin:DynamicsAXDev\SQLTEST
sqlcmd -S admin:DynamicsAXDev\SQLTEST

Blog post link for the video:

Visit our website to check out SQL Server DBA Tutorial Step by Step
Рекомендации по теме
Комментарии
Автор

Finally, Amir bhai has given the soln. Thanks,
brother

thrhesz
Автор

Thank you V much for this.. why are MS tutorials always so complicated !

denisecherry
Автор

Awesome!! Thanks for sharing this video!

asmalovely
Автор

Very helpful. Love your videos. Thank you

karlsmith
Автор

an error occurred while obtaining the dedicated administrator connection (dac) port

yashpaljamra
Автор

please help me
I want to connect to SQL Server via Internet:

I turned off the firewall
I enabled the the DMZ in the router, host address is 192.168.1.24 which is the SQL Server LAN IP
I open port in the router for both SQL Server and SQL Server Browser (1433 - 1434)
I checked the open port via (canyouseeme) website, and the result is success for 1433 and error for 1434 (I don't know the reason for the error)
I made the necessary configuration for the TCP protocols
I checked that the server is allowed remote connection
But I failed to connect to the server via Internet.

My LAN IP is 192.168.1.24
The instance is default instance
My public IP is 95.218.156.146 (for example)

When I type (192.168.1.24) in the server name text-box I succeed to connect to the server, but I fail to connect when I type 195.218.156.146 or 95.218.156.146, 1433

Note:

When I put the public IP in the brower then the router page appears (meaning that the public IP is correct)
I didn't find port forwarding in my router, but I have configured the DMZ and port mapping
for more details please teake a look at this screenshots

wcsdmsy