Solved

Need to create a user in sql 2005.

Posted on 2007-12-01
6
213 Views
Last Modified: 2010-03-19
Need to create a user in sql 2005 to run the dashCommerce script.
It wants create table previleges and so forth. What kind of user should I create and what
properties should I give him. So the script can run well.
This step will install the necessary database objects and the base data needed to run dashCommerce. This includes the ASP.NET Membership database objects.
Thanks,
0
Comment
Question by:mathieu_cupryk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 18

Expert Comment

by:Yveau
ID: 20390751
If you only need if for the installation process, make it a member of the sysadmin server role ... TEMPORARILY !!! As soon as the installation is done, remove the membership or disable the account.

NEVER GIVE A PERMANENT ACCOUNT MEMBERSHIP OF THE SA SERVER ROLE ...

Hope this helps ...
0
 

Author Comment

by:mathieu_cupryk
ID: 20391171
How do I do this?
Do a grant all?

0
 
LVL 5

Accepted Solution

by:
ursangel earned 250 total points
ID: 20393809
In the SQL server 2005 go to --> Security --> Logins . Right Click and select NewLogin..
In the General Tab, provide the Login name and password.
In the Server Roles select the sysadmin role
In the UserMappings select the databse for which the user need access.

Click ok. The new user is created and have the admin privilege. Once the purpose is over, remove the user form the admin gorup or delete the user.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 18

Assisted Solution

by:Yveau
Yveau earned 250 total points
ID: 20405498
>>In the UserMappings select the databse for which the user need access.
That won't be necessary as the sysadmin group has access to all databases as a database owner by default.

Hope this helps ...
0
 

Author Comment

by:mathieu_cupryk
ID: 20452154
Hi angel and yveau

Solution 1.
In the SQL server 2005 go to --> Security --> Logins . Right Click and select NewLogin..
In the General Tab, provide the Login name and password.
In the Server Roles select the sysadmin role
In the UserMappings select the databse for which the user need access.

Click ok. The new user is created and have the admin privilege. Once the purpose is over, remove the user form the admin gorup or delete the user.
=====================================================================
Solution 2
>>In the UserMappings select the databse for which the user need access.
That won't be necessary as the sysadmin group has access to all databases as a database owner by default.

Hope this helps ...
---------------------------------------------------------------------------------------------------------------
I would like to know what solution deserves the points. Or should it be 50% and why.
I appreciate it.
0
 
LVL 18

Expert Comment

by:Yveau
ID: 20453142
just divide the points as you feel fair.
we're just happy to help you out in the big SQL jungle.
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

Title # Comments Views Activity
Analysis of table use 7 63
SQL Server 2005 - Comparing Fields' Contents 6 52
SQL- GROUP BY 4 24
Database Mail Profiles 1 21
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

749 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