Solved

Adding Login User

Posted on 2011-09-26
3
232 Views
Last Modified: 2013-11-05
I have created a database and user X can login with no problems. When i attempt to login with user Y it wont allow me. Is there a setting in 2008 SQl to add or allow a user to access the database? I found way to create login for 2005 but 2008 might have different setings.

Thanks,
ep
0
Comment
Question by:Epic7
  • 2
3 Comments
 
LVL 26

Accepted Solution

by:
Zberteoc earned 500 total points
ID: 36601465
First you have to create the login by expanding server node > Security and right click on Logins > New Login and give it a password or windows authentication. AFter that ou have to set up the user mapping. By doing this the login is also created in the database as a user and given permissions. This is done in the same window where you create the logins, in the left panel you select User Mapping and then in the right upper panel you check the databases you want to give the user access and in the lower right panel you check the permissions, db_owner for full permission or db_datareader for read only.
0
 
LVL 26

Expert Comment

by:Zberteoc
ID: 36601470
If the login exists you will have to select it from Security > Logins > right click on th elogin and then on Properties.
0
 
LVL 1

Author Closing Comment

by:Epic7
ID: 36601474
Thanks
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question