mongodb 报"when a host is not a member of a replica set' on server 127.0.0.1:27017" 解决方案
在部署本地服务器运行的MONGODB数据库,可能会报上述错误;
从字面意思上看,与服务器备份有关;
stackoverflow.com给出的解决方案如下;
个人配置如下:
<mongo:mongo-client id="mongo" host="${mongo.host}" port="${mongo.port}" credentials="${mongo.credenti...
原创
2019-04-10 11:05:54 ·
1582 阅读 ·
0 评论