Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.

authenticate

authenticate

Clients use authenticate to authenticate a connection. When using the shell, use the db.auth() helper as follows:

db.auth( "username", "password" )

See

db.auth() and Security for more information.

←   logout copydbgetnonce  →