登录环境:mongo -u root -p 123456 —authenticationDatabase=admin #必须 查看数据库:show dbs 查看collectionsshow collections 查看表db..find() 修改表db..update({password:”123”},{$set:{password:”test”}})