authenticate

  • authenticate
    • Client 端使用authenticate来验证连接。使用 Shell 程序时,请按以下方式使用db.auth()帮助器:
db.auth( "username", "password" )

See

db.auth()Security了解更多信息。