RDS and SQL - need to give Login db_datareader to MSDB

0

Fellow RDS/SQL dbas,

I need a login id to have db_datareader access to msdb in RDS.

When I try it, I get: Cannot alter the role 'db_datareader', because it does not exist or you do not have permission.

I am able to do just about anything else on this new rds instance except this. What am I missing? thx MG

已提問 1 年前檢視次數 649 次
1 個回答
0

In Amazon RDS for SQL Server, you do not have sysadmin permissions, so you are not allowed to grant permissions on system databases such as msdb. This is a restriction imposed by the managed nature of Amazon RDS, where certain administrative features are retained by AWS to provide the scalability, reliability, and security features of the service.

For the msdb database, AWS provides a set of stored procedures that you can use to perform the most common tasks, such as managing jobs and schedules. These stored procedures are named rds_msdb, and are located in the rdsadmin

You can read the following link for more information

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.CommonDBATasks.html

profile picture
專家
已回答 1 年前
  • HI SDTSLMN,

    thanks for it does not solve the issue.

    I need a way to read the msdb.dbo.sysjobs table and msdb.dbo.sysjobhistory table.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南