DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
(Unauthorized) not authorized on admin to execute command
use admin; db.grantRolesToUser('admin', [{ role: 'root', db: 'admin' }])
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#authorized
#admin
#execute
#command
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit