Details
-
Question
-
Resolution: Done
-
Major - P3
-
None
-
2.4.8
-
None
-
Test
Description
I am running cluster with --keyFile, the processes starts fine. Then I seParameter userAdminLocalhostAuthDabase=0 and add a new user. After that, I connect to the database with the new user and run an rs.initiate() to initiate the cluster. But when I try to run a query i get this error message:
{"ok" : 0, "errmsg" : "unauthorized" }can some please tell me what I am doing wrong?
Thanks.