剛纔想進SQL裏查個數據,啓動SQL2008R2管理器後,按日常使用的設置,沒動過,點擊「鏈接」數據庫
![1.jpg 193620892.jpg](http://static.javashuo.com/static/loading.gif)
過一會提示沒法鏈接到本地數據庫上網絡
![2.jpg 193650499.jpg](http://static.javashuo.com/static/loading.gif)
回想以前將系統升級爲域控,且裝了Exchange2007,可能系統改變了一些東西,因而去日誌裏查看,發現SQL主進程沒起來ide
![3.jpg 193652554.jpg](http://static.javashuo.com/static/loading.gif)
進服務裏強制啓動SQL主進程3d
![4.jpg 193655967.jpg](http://static.javashuo.com/static/loading.gif)
提示沒法啓動錯誤日誌
![5.jpg 193657415.jpg](http://static.javashuo.com/static/loading.gif)
網上搜了一下,說是登陸身份不對,看了一下,原來用的是網絡服務來啓動服務的。blog
下圖是Analysis服務的,和SQL主服務是一個緣由進程
![6.jpg 193700790.jpg](http://static.javashuo.com/static/loading.gif)
改爲「本地系統賬戶」後可以正常啓動SQL主服務,再鏈接本地數據庫引擎,OK了。get
![7.jpg 193702575.jpg](http://static.javashuo.com/static/loading.gif)