无法连接SQL Server身份验证 [英] unable to connect sql server authentication

查看:95
本文介绍了无法连接SQL Server身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即时通讯使用Windows Server 2008 R2(OS),并且在即时通讯中安装sql server 2008 R2的情况下,当即时通讯使用sql server连接到数据库时,仅Windows身份验证有效,
当我使用sqlserver身份验证登录失败时,请帮助我

im using windows server 2008 R2(OS), and in that im installing sql server 2008 R2, when im using sql server to connect to database only windows authentication works ,
when im using sqlserver authentication i got login failed , plz help me

推荐答案

如果您使用正确的用户名/密码,那么它将起作用,因为如果Windows身份验证有效,那么您就可以与数据库建立良好的连接,因此唯一需要的是正确的用户名和密码
If you use the right username/password, then it will work, because if windows authentication works, then you have a good connection to the DB, so the only thing you need, is a correct username and password


确保您的服务器已通过Mixed Mode身份验证.
http://msdn.microsoft.com/en-us/library/ms188670.aspx [ ^ ]

http://www.hosting.com/support/windows-vps/mixedmode [ ^ ]
Make sure your server is in Mixed Mode authentication.
http://msdn.microsoft.com/en-us/library/ms188670.aspx[^]

http://www.hosting.com/support/windows-vps/mixedmode[^]


这篇关于无法连接SQL Server身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆