I am trouble executing the mongorestore command to populate the database.
Following is the command and error message:
(mflix) C:\Users\jtgajda\Desktop\m220p\2m220\mflix-python>mongorestore --drop –
gzip --uri “mongodb+srv://mflix-lmjjv.mongodb.net/test --username m220student –
password m220password” data
2018-11-20T16:49:38.382-0500 preparing collections to restore from
2018-11-20T16:49:38.444-0500 Failed: mflix.movies: error reading database: us
er is not allowed to do action [listCollections] on [mflix.]
I have created the m220student with the following role:
|* readWriteAnyDatabase @admin
Any help would be appreciated!
Thanks in advance.