Solved

Need to create a user in sql 2005.

Posted on 2007-12-01
6
209 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
  • 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now