mongodb 连接字符串

       <!--连接字符串-->
  <add key="ts.students" value="mongodb://192.168.0.106,192.168.0.233/School?replicaSet=testRs"/>

 

解释:

testRs是我配置的replica set的名称

 

 

参考:

mongodb连接字符串配置:

https://www.cnblogs.com/AlvinLee/p/6062167.html

 

相关文章:

  • 2021-10-07
  • 2022-12-23
猜你喜欢
  • 2022-02-26
  • 2021-10-17
  • 2022-12-23
  • 2021-11-09
  • 2021-12-13
  • 2021-06-15
相关资源
相似解决方案