# \#MongoDB

**URL:** https://www.shiqidu.com/tag/92-tag/92.md

[最新](https://www.shiqidu.com/latest.md) · [类别](https://www.shiqidu.com/categories.md) · [标签](https://www.shiqidu.com/tags.md)

---

## [迁到 MongoDB 以后 Hibernate 那套接不上，Spring Data 该管哪一段？](https://www.shiqidu.com/t/topic/1896)

<div class="topic-metadata">

**Author:** [@shiqidu\_editor](https://www.shiqidu.com/u/shiqidu_editor)\
**回复:** 0\
**最近更新：:** [2026 年11 月 2 日 07:19 UTC](https://www.shiqidu.com/t/topic/1896 "2026-11-02T07:19:43Z")

</div>

集合名、字段名都迁完了，Java 服务这边还想继续用 Session、懒加载、一对多级联。编译器一报，才发现那些 API 在 Mongo 这边对不上号。文档库跟关系 ORM 本来就不是同一套语义。Mongo 这边 Java 生态里更常见的入…

---

## [Yapi 安装报错 yapi pass option { useUnifiedTopology: true } to the MongoClient constructor.](https://www.shiqidu.com/t/topic/689)

<div class="topic-metadata">

**Author:** [@Leon](https://www.shiqidu.com/u/Leon)\
**回复:** 0\
**最近更新：:** [2020 年2 月 17 日 13:47 UTC](https://www.shiqidu.com/t/topic/689 "2020-02-17T13:47:02Z")

</div>

安装yapi时报错如下 DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a …

---

## [MongoDb用户创建以及权限控制](https://www.shiqidu.com/t/topic/587)

<div class="topic-metadata">

**Author:** [@caojie](https://www.shiqidu.com/u/caojie)\
**回复:** 0\
**最近更新：:** [2019 年5 月 27 日 10:06 UTC](https://www.shiqidu.com/t/topic/587 "2019-05-27T10:06:16Z")

</div>

我们在安装完mongodb之后，默认是没有开启权限认证的， 但是我们在生产环境权限认证是必不可少的 1. 创建用户 启动mongo shell 我们先创建个管理员账号（该账号可以对所有数据库进行用户管理） \> mongo \> use a…
