Skip to content

Commit

Permalink
last tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
brimoor committed Dec 24, 2021
1 parent b28ea15 commit 1afc79f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/source/user_guide/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,13 @@ FiftyOne must connect as a root user.

You can create a root user with the Mongo shell as follows:

.. code-block:: text
.. code-block:: shell
use admin
db.createUser({user: "username", pwd: passwordPrompt(), roles: ["root"]})
mongo --shell
> use admin
> db.createUser({user: "username", pwd: passwordPrompt(), roles: ["root"]})
Also, you must add `?authSource=admin` to your database URI:
You must also add `?authSource=admin` to your database URI:
.. code-block:: text
Expand Down

0 comments on commit 1afc79f

Please sign in to comment.