Cannot create user on CONF Cluster

Once I have the 3 mongod of the configuration cluster online, I connect with the 1st one (26001) to create the administrator user but there is an error.

I’ve looked at different options on my notes and on the forums, but I cannot find a solution.

Here is a screenshot of all the steps.

Thank you for your time.



I found out that I wasn’t using the

rs.initiate() command.

All good now.


I’m glad your issue got resolved. Please feel free to get back to us if you have any other query.

~ Shubham