sql server连接问题 [英] problem with sql server connection
本文介绍了sql server连接问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经使用sql server 2008建立了一个数据库并定义了一个新用户
通过右键单击安全性和新用户登录
但是在数据库浏览器c#2010环境中,当我创建新连接并
为SQL Server授权定义用户名和密码此错误消息
出现:
用户登录失败"
而且我不得不使用Windows授权模式
I have build a database with sql server 2008 and define a new user
by right click on security and new user login
but in database explorer c#2010 environment when i creat a new connection and
define a user name and password for sql server authornication this error message
appear:
"Login faild for user"
and i had to use of windows authornication mode
how to define a user?
推荐答案
您的意思是如何为SQL Server创建新用户.如果是这样,请参阅:
-如何:创建SQL Server登录名 [如何:创建数据库用户 [
Do you mean how you create a new user to SQL Server. If so, see:
- How to: Create a SQL Server Login[^]
- How to: Create a Database User[^]
您需要启用 MixedMode
谢谢
-Amit
Hi,
you need to enable MixedMode
thanks
-Amit
尝试一下:
http://sarangasl.blogspot.com/2011/06/sql-server-authentication- enabled.html [^ ]
希望对您有所帮助:)
Try this:
http://sarangasl.blogspot.com/2011/06/sql-server-authentication-enabling.html[^]
hope it helps :)
这篇关于sql server连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文