1

在安装 SQL Server 2008 时,我选择了混合身份验证模式。但是在安装之后,当我尝试在 Windows 身份验证中连接数据库时,它会出现以下错误:

TITLE: Connect to Server
------------------------------

Cannot connect to DEWASISH-PC\SQLEXPRESS.

------------------------------
ADDITIONAL INFORMATION:

Login failed for user 'dewasish-PC\dewasish'. (Microsoft SQL Server, Error: 18456)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

但是当我尝试使用 SQL Server 身份验证模式时,我能够连接到数据库。谁能告诉我在 Windows 身份验证的帮助下我能够以什么方式连接数据库?

4

1 回答 1

0

在您的实例安全性中,您需要添加:

  1. 您作为 Windows 登录用户的 Windows 登录名,包括域(如果适用),或
  2. 如果您是 Windows 域安全组的成员,请将组名添加为 Windows 登录用户。
于 2012-05-19T17:30:06.167 回答