English 中文(简体)
ql服务器标志
原标题:sql server login windows authentication

I am new to sql server express and i installed sql server express 2008 R2 with windows authentication as an administrator of the machine.

我的目标是建立一个数据库,管理一些文字,以制作表格和数据,并从申请表与数据库连接。

I created a new database abc with owner as default. I create a new login and lets call it bob with sql server authentication.(am i doing it right?) Here i chose default database for that login as abc THen i created a new user (same name bob) within the folder of my database and mapped to the existing login bob.

究竟是怎样做?

when i try to connect through sql server management studio with sql server authentication and entered the username and password for the user bob, i get an error saying that i cant connect. please clarify what steps i am missing.

感谢。

最佳回答

As I understand your question, your server uses Windows authentification, but you are trying to connect using SQL Server autentification. If you need to connect using SQL Server authentication, you need to turn it on. In SQL Server Management Studio (SSMS), select this instance, select Properties, and then on Security tab check the "SQL Server and Windows Authentication mode". After that you need to restart the SQL Server service (using SSMS or Services from Administrative Tools).

问题回答

暂无回答




相关问题
Export tables from SQL Server to be imported to Oracle 10g

I m trying to export some tables from SQL Server 2005 and then create those tables and populate them in Oracle. I have about 10 tables, varying from 4 columns up to 25. I m not using any constraints/...

SQL server: Can NT accounts be mapped to SQL server accounts

In our database we have an SQL server account that has the correct roles to access some of the databases. We are now switching to windows authentication and I was wondering if we can create a NT user ...

SQL Server 2000, ADO 2.8, VB6

How to determine if a Transaction is active i.e. before issuing Begin Transaction I want to ensure that no previous transaction are open.. the platform is VB6, MS-SQL Server 2000 and ADO 2.8

热门标签