hi,
I want to grant select on sys.database_mirroring to a monitoring user.
When I did this:
use msdb
go
GRANT SELECT ON sys.database_mirroring TO user1;
go
I received this error:
Msg 4629, Level 16, State 10, Line 2
Permissions on server scoped catalog views or system stored procedures or extended stored procedures can be granted only when the current database is master.
Do you have an idea ?
I don't understand the error.
regards
I want to grant select on sys.database_mirroring to a monitoring user.
When I did this:
use msdb
go
GRANT SELECT ON sys.database_mirroring TO user1;
go
I received this error:
Msg 4629, Level 16, State 10, Line 2
Permissions on server scoped catalog views or system stored procedures or extended stored procedures can be granted only when the current database is master.
Do you have an idea ?
I don't understand the error.
regards