Database Administrators Asked by dev_etter on October 28, 2021
Is it recommended that I also update the compatibility level of the master database to 2017? I presume that leaving it at the 2012 level means that I’d be sacrificing some functionality. (I opened a github issue with Microsoft’s documentation for clarification.)
(Related question but not quite close enough to my scenario.)
I cannot change the compatibility level of master. The "master user" assigned to this RDS instance is not the db owner for the master database. The db owner of the master database is rdsa, which as you’re probably aware, is a disabled AWS sysadmin user that I cannot utilize.
ALTER DATABASE master
SET COMPATIBILITY_LEVEL = 140;
But I got this error
User does not have permission to alter database 'master', the database does not exist, or the database is not in a state that allows access checks.
This makes sense. The "master user" that I am logged in as is not the db_owner of the master database.
Unfortunately, this didn’t change the db_owner of master. It was still rdsa. I rebooted the instance just in case and got the same results.
USE [master]
GO
CREATE USER [mymasteruser] FOR LOGIN [mymasteruser]
GO
USE [master]
GO
ALTER ROLE [db_owner] ADD MEMBER [mymasteruser]
GO
That didn’t work either, as expected.
User does not have permission to perform this action.
Are there other steps on the configuration side that I can try? That side of things is a bit of a black box for me so any insight is appreciated.
My next step is to contact AWS support.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP