MongoDB

运行

  1. mongod --dbpath <db_data_path> (mongod is the "Mongo Daemon")
  2. 在shell用mongo或者用studio 3t可视化连接

创建用户

 db.createUser({user:"root",pwd:"root",roles:["userAdminAnyDatabase"]})
原文地址:https://www.cnblogs.com/allen2333/p/9215759.html