博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
当多个sqlserver服务存在时,需要完全限定的serverName 方可登陆
阅读量:4538 次
发布时间:2019-06-08

本文共 2696 字,大约阅读时间需要 8 分钟。

当有多个sqlserver服务存在的时候

 

通过图形管理界面,登陆时,需要完全限定名 (. + 反斜杠 + server名称) 或者 (计算机登录名 + 反斜杠 + server名称)

 

 

 如果我们只有一个sqlExpress ,只需要 . 即可作为server name。

 

另外关于 sqlserver服务属性面板里面 logon as 里面的build-in账户的阐述如下: 原文链接

ervice

SQL Server is selected as a service.

Use the built-in System account

You can assign Local System, Network Service, or Local Service to the logon for the configurable SQL Server services.

Local System account

The Local System option specifies a local system account that does not require a password to connect to SQL Server on the same computer. However, the local system account might restrict the SQL Server installation from interacting with other servers, depending on the privileges granted to the account.

Local System is a powerful account. It might not be appropriate for all service settings. For more information, see "." in SQL Server 2005 Books Online.
ms143170.note(en-US,SQL.90).gifImportant:

Network Service account

The Network Service account is a special, built-in account that is similar to an authenticated user account. The Network Service account has the same level of access to resources and objects as members of the Users group. Services that run as the Network Service account access network resources using the credentials of the computer account.

We recommend that you do not use the Network Service account for the SQL Server. Local User or Domain User accounts are more appropriate for these SQL Server services.
ms143170.note(en-US,SQL.90).gifImportant:

Local Service account

The Local Service account is a special, built-in account that is similar to an authenticated user account. The Local Service account has the same level of access to resources and objects as members of the Users group. This limited access helps safeguard the system if individual services or processes are compromised. Services that run as the Local Service account access network resources as a null session without credentials. For more information on service accounts, see  in SQL Server 2005 Books Online.

 

题外话:为什么多个服务 sqlserver服务 却只有一个 sqlserver browser  服务 。(下框中的红色部分做了一个强有力的解释) 

Start services at the end of SQL Server Setup

Automatically starts the following services when the operating system is started.

  • SQL Server
    By default, the SQL Server option is selected.
  • SQL Server Browser
    SQL Server Browser is the name resolution service that provides SQL Server connection information to client computers. This service is shared across multiple instances of SQL Server.
To enhance security in SQL Server 2005 Express Edition, some services and features are not enabled by default. They have to be configured and enabled after Setup is finished. For more information, see  and .
ms143170.note(en-US,SQL.90).gifImportant:

 

转载于:https://www.cnblogs.com/windfighter/archive/2012/07/06/sql.html

你可能感兴趣的文章
Visual Studio提示“无法启动IIS Express Web服务器”的解决方法
查看>>
Java 时间总结
查看>>
jQuery EasyUI 拖放 – 基本的拖动和放置
查看>>
这些年正Android - 母亲
查看>>
[工具] BurpSuite--XssValidator插件
查看>>
LPC1788系统时钟初始化
查看>>
channel vs mutex
查看>>
页面布局(--FlowLayout,--BorderLayout,--GridLayout)
查看>>
实验吧--web--你真的会php吗
查看>>
vue组件化学习第二天
查看>>
网络枚举工具推荐
查看>>
003LeetCode--LongestSubstring
查看>>
quarzt(官方)---给自己看的文档(SchedulerListeners)-8
查看>>
Linux-慕课网学习笔记-3-1命令格式
查看>>
AJAX入门介绍
查看>>
[算法竞赛入门]第一章_算法概述
查看>>
SQL反模式笔记3——主键规范
查看>>
简单粗暴,微生物生态研究中常用数据库简介--转载
查看>>
Oracle -操作数据库
查看>>
c - 给分数分级别
查看>>