[英]Microsoft SQL Server Native Client 11.0 : Cannot open database
c:\windows\system32\cmd.exe /c sqlcmd -S (localdb)\v11.0 -d Adv
entureWorksDW2008R2
I am getting the following error : 我收到以下错误:
Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Cannot open database "A dventureWorksDW2008R2" requested by the login.
Sqlcmd:错误:Microsoft SQL Server本机客户端11.0:无法打开登录请求的数据库“ A dventureWorksDW2008R2”。 The login failed.
登录失败。
I am using active directory credentials... not using any special credentials; 我使用的是活动目录凭据...不使用任何特殊的凭据; How to make the above command work for AD user?
如何使以上命令对AD用户有效?
SQL Server is in no way connected to Active Directory. SQL Server决不连接到Active Directory。 Only users configured in SQL Server can log into SQL Server.
只有在SQL Server中配置的用户才能登录SQL Server。 You will have to add the user to SQL Server.
您必须将用户添加到SQL Server。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.