Solved

Need to create a user in sql 2005.

Posted on 2007-12-01
6
211 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
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…

773 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