zoukankan      html  css  js  c++  java
  • 当多个sqlserver服务存在时,需要完全限定的serverName 方可登陆

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



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

     

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

    另外关于 sqlserver服务属性面板里面 logon as 里面的build-in账户的阐述如下: 原文链接http://msdn.microsoft.com/en-us/library/ms143170(v=sql.90).aspx

    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 "Security Considerations for a SQL Server Installation." 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 Setting Up Windows Service Accounts 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 SQL Server Surface Area Configuration and Security Considerations for a SQL Server Installation.
    ms143170.note(en-US,SQL.90).gifImportant:

  • 相关阅读:
    跟着Artech学习WCF(3) wcf 的状态问题
    ASP.NETmvc常用JQUERY收藏【jquery.form.js结合jquery.validate.js】
    ASP.NET开源MVC框架Vici MVC(二)Controllers和templates基础
    vici 开源asp.net mvc支持asp.net2.0II6.0下部署 实例下载地址
    asp.net MVC iis6 虚拟主机兼容开发方式
    ASP.NET mvc 自定义验证和Filter过滤器传参
    跟着Artech学习WCF(1)
    xslt转换XML为HTML遇到JS,CSS等问题
    跟着Artech学习WCF(4) MSMQ 绑定
    跟着Artech学习WCF(1)
  • 原文地址:https://www.cnblogs.com/windfighter/p/sql.html
Copyright © 2011-2022 走看看