Solved

Need to create a user in sql 2005.

Posted on 2007-12-01
6
212 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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL help 5 56
My Query is not giving correct result. Please help 5 51
Find results from sql within a time span 11 46
What is this datetime? 1 19
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
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…

837 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