-
Type: Task
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.3
-
Component/s: Operations
When I create a mongod with --replset option,the admin database will not create.
But some command is need to run against admin database.
In my case,I want to execute "replSetInitiate" command by my application.
if I create mongod with --replset,"admin" database is not exist.(And I also can't create a admin database by application)
if I create mongod without --replset ,replSetInitiate will raise a exception.
Would you kindly tell me a way to RunCommand without a "admin" Database.