Thursday, October 18, 2012

MySQL: Grant mssql user in mssql db

Copy from : http://techovdoom.blogspot.com/2012/06/grant-mssql-user-in-mssql-db.html

Thanks John.

Configuring user permissions for Microsoft SQL Server
Microsoft SQL Server defines SQL Server Agent roles that govern accessibility of the job framework. The SQL Server Agent jobs are stored in the SQL Server msdb database.

To install Websense Log Server successfully, the user account that owns the Websense database must have membership in one of the following roles in the msdb database:
*
SQLAgentUserRole
*
SQLAgentReader Role
*
SQLAgentOperator Role
The SQL user account must also be a member of the dbcreator fixed server role.
Use Microsoft SQL Server Management Studio to grant the database user account the necessary permissions to successfully install Log Server.
1.
On the SQL Server machine, go to Start > Programs > Microsoft SQL Server 2005 or 2008 > Microsoft SQL Server Management Studio.
2.
Select the Object Explorer tree, and then go to select Security > Logins.
3.
Select the login account to be used during the installation.
4.
Right-click the login account and select Properties for this user.
5.
Select User Mapping and do the following:
a.
Select msdb in database mapping.
b.
Grant membership to one of these roles:
*
SQLAgentUserRole
*
SQLAgentReader Role
*
SQLAgentOperator Role
c.
Click OK to save your changes.
6.
Select Server Roles, and then select dbcreator. The dbcreator role is created.
7.
Click OK to save your changes.

0 comments:

Post a Comment