当多个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. |
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. |
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.
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. |