SQL Server身份验证问题 [英] SQL Server authentication problem
本文介绍了SQL Server身份验证问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好.
我正在使用SQL Server2005.
它是通过系统管理员登录名安装的,可以在管理员登录名上正常使用.
但是当我使用我的ID登录我的系统时,它给出了错误.
Hi to all.
I am using SQL server 2005.
it is installed by system admin login, it works properly on admin login.
But when i login my system with my id It gives error.
TITLE: Connect to Server
------------------------------
Cannot connect to OMXHO11SFD0885.
------------------------------
ADDITIONAL INFORMATION:
Login failed for user 'OMAXE\shubhamanand'. (Microsoft SQL Server, Error: 18456)
如何将其与数据库引擎连接?
how can i connect it with database engine?
推荐答案
在SQL Server中,您可以创建SQL用户登录名或使用Windows身份验证.
做简单的测试.创建一个SQL用户帐户"shubhamanand",并为该用户分配正确的权限.
然后使用正确的连接字符串 [如何:创建SQL Server登录名 [ ^ ]
In SQL Server, you can create a SQL User login or use Windows authentication.
Do the simple test. Create a SQL User account "shubhamanand" and assign correct rights to that user.
And then use the correct connection string[^].
Example:
Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=shubhamanandmyUsername;Password=myPassword;
---
How to: Create a SQL Server Login[^]
这篇关于SQL Server身份验证问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文