SQL2005怎樣遠程連接以及使用sa用戶登錄

 

---------------------------------------------------允許遠程訪問的設置--------------------------------------------------------

1.打開SQL Server Surface area configuration
->Surface area configuration for services and Connections
->Database Engine
->Remote Connections
->Local and remote connections
->Using both TCP/IP and named pipes

2.不啓用遠程防火牆

----------------------------------------------------使用sa登錄的設置---------------------------------------------------------

1.打開SQL Server configuration manager
->SQL Server 2005 Services
->SQL Server(SQLEXPRESS)
->Log On
->Built-in account: Local System
2.登錄Microsoft SQL Server Mangement Studio Express後雙擊0CEC730E5609436(這裏是計算機名,後同)/SQLEXPRESS
->選擇安全性
->選擇SQL Server和Windows身份驗證模式(s)
3.登錄Microsoft SQL Server Mangement Studio Express後在安全性中選擇登錄名,選中sa用戶,啓用該用戶並輸入密碼
4.重新啓動0CEC730E5609436/SQLEXPRESS(右鍵點擊它選擇“重新啓動”即可)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章