Sql-server – Permission denied when trying to install sp_blitz on in the master database in Amazon RDS

amazon-rdspermissionssp-blitzsql server

I am trying to install sp_blitz on AWS RDS SQL Server (14.0.3223.3) standard edition and getting following error:

Msg 262, Level 14, State 18, Procedure sp_Blitz, Line 1 [Batch Start Line 0]
CREATE PROCEDURE permission denied in database 'master'.
Msg 208, Level 16, State 6, Procedure sp_Blitz, Line 2 [Batch Start Line 3]
Invalid object name 'dbo.sp_Blitz'.

Please advise, thanks.

Best Answer

That error message means you don't have enough permissions to install things in the master database.

That's okay: you can install sp_Blitz (and any other stored procs) in a user database instead, and they'll work fine there.

If you run into that same error in a user database (one you created), then you'll need to check with your sysadmins about your permissions.