Saltar al contenido

SQL Server on RDS

0

I accidently deleted the rds admin user on a database (not the server instance). If i issue USE [database_name] I get Msg 916, Level 14, State 2, Line 1 The server principal "rdsadmin user" is not able to access the database "database_name" under the current security context.

Now I can't delete or restore the database. How do I delete it? All other databases are running fine and the rds admin have access.

preguntada hace 2 años372 visualizaciones

1 Respuesta
1
Respuesta aceptada

I think the procedure explained in this document article should fix the issue: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.CommonDBATasks.ResetPassword.html

EXPERTO

respondido hace 2 años

EXPERTO

revisado hace 2 años

EXPERTO

revisado hace 2 años

  • Reseting the master password did the trick. Thx

  • Nice Trick

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.