MongoDB - 用戶與權限

點擊上方☝SpringForAll社區 輕鬆關注!數據庫 及時獲取有趣有料的技術文章ide img 切換數據庫函數 1use admin 建立用戶spa 全部權限3d 1db.createUser( 2  { 3    user:"anoyi", 4    pwd:"password", 5    roles:["root"] 6  } 7) 指定數據庫全部權限rest 1db.createUse
相關文章
相關標籤/搜索