내용으로 건너뛰기

How can i create a user on AWS MSSQL Read replica

0

Hi,

As far as I know, AWS RDS does not sync the user creation on replicadb. I created a user on the main db. However, the user has not been synced on the replica. I tried to create the user on Replica. I received a read-only exception. The question is, how can we create a database user on AWS RDS MSSQL read replica?

Thanks for the answers.

질문됨 2년 전860회 조회

2개 답변
1
수락된 답변

Greetings, Efe,

Please find the answer to your question in our official documentation?

Let me know if you need additional assistance?

AWS

답변함 2년 전

전문가

검토됨 2년 전

  • Many thanks. Finally worked.

1

Hi,

Service documentation says: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.html#SQLServer.ReadReplicas.ObjectSynchronization

Any logins, custom server roles, SQL agent jobs, or other server-level objects that exist 
in the primary DB instance at the time of creating a read replica are expected to be present 
in the newly created read replica. However, any server-level objects that are created in the 
primary DB instance after the creation of the read replica will not be automatically replicated, 
and you must create them manually in the read replica.

The page above details the procedure to replicate users created after the replica setup

Best,

Didier

전문가

답변함 2년 전

전문가

검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.