开发者社区> 问答> 正文

rds sqlserver sp_cdc_enable_table 开启监控表的命令报错

rds sqlserver sp_cdc_enable_table 开启监控表的命令报错,报错信息如下: Could not update the metadata that indicates table [dbo].[zhoutao] is enabled for Change Data Capture. The failure occurred when executing the command '[sys].[sp_cdc_add_job] @job_type = N'capture''. The error returned was 916: 'The server principal "S-1-9-3-695758163-1316657335-127315332-3186711835" is not able to access the database "msdb" under the current security context.'. Use the action and error to determine the cause of the failure and resubmit the request. com.microsoft.sqlserver.jdbc.SQLServerException: SQLServerException: Could not update the metadata that indicates table [dbo].[zhoutao] is enabled for Change Data Capture. The failure occurred when executing the command '[sys].[sp_cdc_add_job] @job_type = N'capture''. The error returned was 916: 'The server principal "S-1-9-3-695758163-1316657335-127315332-3186711835" is not able to access the database "msdb" under the current security context.'. Use the action and error to determine the cause of the failure and resubmit the request.

展开
收起
ntbzbc6i542fi 2021-06-17 18:01:44 999 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
One Box: 解读事务与分析一体化数据库 HybridDB for MySQL 立即下载
One Box:解读事务与分析一体化数据库HybridDB for MySQL 立即下载
如何支撑HTAP场景-HybridDB for MySQL系统架构和技术演进 立即下载

相关镜像