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回答
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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ